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

conllx-partition: CoNLL-U format not supported #1

Open
timmli opened this issue Jan 6, 2018 · 1 comment
Open

conllx-partition: CoNLL-U format not supported #1

timmli opened this issue Jan 6, 2018 · 1 comment
Labels

Comments

@timmli
Copy link

timmli commented Jan 6, 2018

When I try to partition a CoNLL-U file like this

../conllx-utils/target/debug/conllx-partition 15 PREFIX .conllu INPUT.conllu

the following error is thrown:

Error: cannot parse as integer field: '# sent_id = train-s1501'

The same with a CoNLL-X-formatted file works fine.

@danieldk
Copy link
Owner

Supporting CoNLL-U would require a good crate for CoNLL-U and a good abstraction of both the conllx crate and this conllu crate. This has been on my todo list for a long time, but there are always more urgent issues ;). (Such as converting conllx-utils to use the new petgraph-based conllx API.)

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

No branches or pull requests

2 participants