You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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.
The text was updated successfully, but these errors were encountered: