我正在使用charniak parser - bllip-parser来分块输出。有时解析器无法解析句子。作为README,有一个参数 '-S' 告诉解析器在它无法解析任何句子时保持沉默,它只是进入下一个句子。但是使用这个参数,解析器不会进入下一个句子。它仍然抛出异常。
我对解析器的输入是:
./parseIt, -l400, -K, -t4, -S, -EInputTagFile.txt, ../DATA/EN/, InputTextFile.txt
此命令的输出(错误):
Warning [parseIt.C:266] Sentence 4: Parse failed from 0, inf or nan probabililty -- reparsing without POS constraints
Warning [ChartBase.C:172] Sentence 4: estimating the counts on a zero-probability sentence
parseIt: MeChart.C:105: Bst& MeChart::findMapParse(): Assertion `s' failed.
Aborted (core dumped)
'-S' 论点有什么问题?有什么建议么 ?