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

org.apache.jena.ttl.turtle.TurtleParseException while running run.sh #86

Open
greg-kan opened this issue May 21, 2022 · 0 comments
Open

Comments

@greg-kan
Copy link

Hello.

I am trying to convert CoNLL to CoNLL-RDF and getting all the same error (regardless of the input *.conllu file):

org.apache.jena.ttl.turtle.TurtleParseException: Lexical error at line 2, column 7. Encountered: " " (32), after : "PREFIX"
at org.apache.jena.ttl.turtle.ParserTurtle.parse(ParserTurtle.java:52)
at org.apache.jena.ttl.turtle.TurtleReader.readWorker(TurtleReader.java:36)
at org.apache.jena.ttl.JenaReaderBase.readImpl(JenaReaderBase.java:116)
at org.apache.jena.ttl.JenaReaderBase.read(JenaReaderBase.java:46)
at org.apache.jena.rdf.model.impl.ModelCom.read(ModelCom.java:246)
at org.acoli.conll.rdf.Format2RDF.conll2model(Format2RDF.java:236)
at org.acoli.conll.rdf.CoNLL2RDF.conll2model(CoNLL2RDF.java:37)
at org.acoli.conll.rdf.CoNLLStreamExtractor.processSentenceStream(CoNLLStreamExtractor.java:108)
at org.acoli.conll.rdf.CoNLLStreamExtractor.main(CoNLLStreamExtractor.java:342)

Even while following the example instruction:

cat en-ud-dev.conllu | ../run.sh CoNLLStreamExtractor
https://github.com/UniversalDependencies/UD_English# ID WORD LEMMA UPOS POS FEAT HEAD EDGE DEPS MISC

Please, help me understand what I am wrong in?

Regards
Greg.

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