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

No such file or directory in CATENA ./tools/TextPro2.0/ #3

Open
sriram7797 opened this issue Aug 22, 2019 · 2 comments
Open

No such file or directory in CATENA ./tools/TextPro2.0/ #3

sriram7797 opened this issue Aug 22, 2019 · 2 comments

Comments

@sriram7797
Copy link

java -Xmx6G -jar ./target/CATENA-1.0.3.jar -i /root/dater/data/catena_input.xmlsample.txt.info.xml.tml -l ./models/CoNLL2009-ST-English-ALL.anna-3.3.lemmatizer.model -g ./models/CoNLL2009-ST-English-ALL.anna-3.3.postagger.model -p ./models/CoNLL2009-ST-English-ALL.anna-3.3.parser.model -x ./tools/TextPro2.0/ -d ./models/catena-event-dct.model -t ./models/catena-event-timex.model -e ./models/catena-event-event.model -c ./models/catena-causal-event-event.model > /root/dater/data/neural_input.tml

I ran the above command.. i am getting following error...

Convert TimeML files to column format...
Exception in thread "main" java.io.FileNotFoundException: ./tools/TextPro2.0/temp_catena_input.xmlsample.txt.info.xml.txt.txp (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.util.Scanner.(Scanner.java:611)
at catena.parser.TextProParser.run(TextProParser.java:140)
at catena.parser.TimeMLToColumns.convert(TimeMLToColumns.java:491)
at catena.parser.TimeMLToColumns.convert(TimeMLToColumns.java:514)
at catena.Temporal.filePreprocessing(Temporal.java:77)
at catena.Temporal.extractRelations(Temporal.java:734)
at catena.Catena.extractRelations(Catena.java:489)
at catena.Catena.extractRelationsString(Catena.java:402)
at catena.Catena.main(Catena.java:89)

Can anyone please help me to fix this?

@WxZy530
Copy link

WxZy530 commented Mar 9, 2021

Do you solve the problem?It seems that TextPro2.0 doesn't work

@paramitamirza
Copy link
Owner

Because you have to download it from the TextPro link I put under the Text processing tools .
Here is the download link: http://textpro.fbk.eu/distribution

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

3 participants