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

CRFsuiteDumpParser fails to parse dump if attributes contain newlines #148

Open
CisterMoke opened this issue Jun 2, 2022 · 0 comments
Open

Comments

@CisterMoke
Copy link

The CRFsuiteDumpParser parses a dump line per line with the assumption that each line is complete. Whenever an attribute contains a newline however, some lines will be broken up over multiple lines. Take for example the following broken up state feature line

(0) -1:word.lower:
 
   
   --> O: 0.000003

This will break parse_STATE_FEATURES because the first line will not match the regex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant