我正在嘗試使用Charniak Parser(不是reranker)來解析一個句子。我的意思是我有這樣的句子:Charniak Parser錯誤
It is good to meet you.
,我需要它由Charniak(我堅持使用Charniak解析器解析,因爲在那之後,我將使用LTH體系和LTH作品基於Charniak分析器)。
那麼,結果會是這樣的:
(s (XP(PRP I) (V is) ....)
然而,當我嘗試運行 「make」 命令Charinak分析器,我面對這些錯誤:
BChartsm.c LeftRightGotIter does not name a type
BChartsm.c in member function double Bchart::pHypgt(const std::string&, int)
BChartsm.c strpbrk was not declared in this scope
BChartsm.c in member function float Bchart::coputeTgT(int,int)
BChartsm.c globalGi was not declared in this scope
我試着使用Madnani開發的補丁程序,但它對我不起作用。我也嘗試使用this solution,但我無法理解最後一部分。我運行了所有的sudo dpkg ...
代碼,但之後我不明白我該怎麼做。
同時,我會說我使用的是Ubuntu 11.04,而我的操作系統是64位的。
任何人都可以向我解釋我如何解決問題?