资源说明:JavaRAP is an implementation of the classic Resolution of Anaphora Procedure (RAP) given by Lappin and Leass (1994) . It resolves third person pronouns, lexical anaphors, and identifies pleonastic pronouns. The original purpose of the implementation is to provide anaphora resolution result to our TREC 2003 Q&A system.
Installation Guide 1. Install Charniak's parser (version parser05Aug16). $ make parseIt If you encounter the following error message, you may want to try overwriting the files in the PARSE/ subdirectory of the parser with those provided in the parser05Aug16.patch.zip zipfile. [wing.nus@cte PARSE]$ make /usr/bin/g++ -c -O BchartSm.C BchartSm.C:30: error: expected initializer before ‘*’ token BchartSm.C: In member function ‘float Bchart::computepTgT(int, int)’: BchartSm.C:612: error: ‘globalGi’ was not declared in this scope make: *** [BchartSm.o] Error 1 2. Get the latest JavaRAP (http://aye.comp.nus.edu.sg/~qiu/NLPTools/JavaRAP.html), decompress it, and modify env.jrap *carefully*. It's important that you add "./" as a directory prefix even it seems unnecessary. 3. Try: $ java -jar AnaphoraResolution.jar testdata/SimpleTest.txt
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。