Skip to content

Deeplima dp train: The list of expected tasks should not be hard-coded #156

@kleag

Description

@kleag

Currently the list of tasks the parser training model expects from the tagging model (form,upos…) is hard-coded while the tagging model can be trained with various tasks.
This list should be saved somewhere and retrieved.

This is described here:

// TODO retrieve tagger tasks list from model or config

And in 7c7b1c6

If tasks lists does not match, parsing fails with

terminate called after throwing an instance of 'std::logic_error'
  what():  Input classes missmatch: xpos != Definite

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions