Search in sources :

Example 1 with CorefSystem

use of edu.stanford.nlp.coref.CorefSystem in project CoreNLP by stanfordnlp.

the class FromFileCorefAlgorithm method main.

public static void main(String[] args) throws Exception {
    Properties props = StringUtils.argsToProperties(new String[] { "-props", args[0] });
    new CorefSystem(new DocumentMaker(props, new Dictionaries(props)), new FromFileCorefAlgorithm(args[1]), true, false).runOnConll(props);
}
Also used : Dictionaries(edu.stanford.nlp.coref.data.Dictionaries) DocumentMaker(edu.stanford.nlp.coref.data.DocumentMaker) CorefSystem(edu.stanford.nlp.coref.CorefSystem) Properties(java.util.Properties)

Aggregations

CorefSystem (edu.stanford.nlp.coref.CorefSystem)1 Dictionaries (edu.stanford.nlp.coref.data.Dictionaries)1 DocumentMaker (edu.stanford.nlp.coref.data.DocumentMaker)1 Properties (java.util.Properties)1