Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kleag opened this issue Jan 9, 2023 · 0 comments
Open

Comments

@kleag
Copy link
Contributor

kleag commented Jan 9, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants