Closed humehta closed 4 years ago
The system is designed to handle a range of formats, see:
If you have your own format then looking in that file will also give you some idea about how to write your own reading code. At the top of each function there is a short example of the format. For example, see:
Which has <COREF ID="8" REF="7">Giant</COREF> agreed last month to purchase the <COREF ID="3" REF="2">carrier</COREF> .
The input reading is called here - https://github.com/jkkummerfeld/berkeley-coreference-analyser/blob/master/classify_coreference_errors.py#L1016 and so once you have your reading code you just need to modify that line to have the system run.
Can we give the input as a text file?