Open shivamsaboo17 opened 6 years ago
The problem is the following:
./preprocessing.sh: line 15: /disk/ocean/public/tools/jamr2016/scripts/config.sh: No such file or directory In preprocessing.sh, change the path to jamr, which you need to download beforehand.
-Marco
On 25 May 2018, at 12:43, Shivam Saboo notifications@github.com wrote:
I am using pretrained LDC2015E86 model and my sentence file name is: sentence.txt I ran the following commands:
./preprocessing.sh -s sentence.txt python preprocessing.py -f sentence.txt python parser.py -f sentence.txt -m LDC2015E86
There was no error whatsoever but the output file is empty. These are the logs for the commands:
./preprocessing.sh: line 15: /disk/ocean/public/tools/jamr2016/scripts/config.sh: No such file or directory panic: swash_fetch got swatch of unexpected bit width, slen=1024, needents=64 at cdec-master/corpus/support/quote-norm.pl line 149,
line 1. Running CoreNLP.. [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator tokenize [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator ssplit [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator pos Reading POS tagger model from edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger ... done [0.6 sec]. [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator lemma [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator ner Loading classifier from edu/stanford/nlp/models/ner/english.all.3class.distsim.crf.ser.gz ... done [2.2 sec]. Loading classifier from edu/stanford/nlp/models/ner/english.muc.7class.distsim.crf.ser.gz ... done [0.5 sec]. Loading classifier from edu/stanford/nlp/models/ner/english.conll.4class.distsim.crf.ser.gz ... done [1.5 sec]. [main] INFO edu.stanford.nlp.time.JollyDayHolidays - Initializing JollyDayHoliday for SUTime from classpath edu/stanford/nlp/models/sutime/jollyday/Holidays_sutime.xml as sutime.binder.1. Reading TokensRegex rules from edu/stanford/nlp/models/sutime/defs.sutime.txt May 25, 2018 3:54:21 PM edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor appendRules INFO: Read 83 rules Reading TokensRegex rules from edu/stanford/nlp/models/sutime/english.sutime.txt May 25, 2018 3:54:22 PM edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor appendRules INFO: Read 267 rules Reading TokensRegex rules from edu/stanford/nlp/models/sutime/english.holidays.sutime.txt May 25, 2018 3:54:22 PM edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor appendRules INFO: Read 25 rules [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator parse [main] INFO edu.stanford.nlp.parser.common.ParserGrammar - Loading parser from serialized file edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz ... done [0.3 sec]. Processing file /home/irlab/Documents/share/shivam_iitv/amr-eager/sentence.txt.sentences ... writing to /home/irlab/Documents/share/shivam_iitv/amr-eager/sentence.txt.out Annotating file /home/irlab/Documents/share/shivam_iitv/amr-eager/sentence.txt.sentences done. Annotation pipeline timing information: TokenizerAnnotator: 0.0 sec. WordsToSentencesAnnotator: 0.0 sec. POSTaggerAnnotator: 0.0 sec. MorphaAnnotator: 0.0 sec. NERCombinerAnnotator: 0.0 sec. ParserAnnotator: 0.0 sec. TOTAL: 0.0 sec. for 0 tokens at 0.0 tokens/sec. Pipeline setup: 5.8 sec. Total time for StanfordCoreNLP pipeline: 5.9 sec. Done!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@mdtux89 I am using pretrained LDC2015E86 model and my sentence file name is: sentence.txt I ran the following commands:
There was no error whatsoever but the output file is empty. These are the logs for the commands: