Search in sources :

Example 6 with Dictionaries

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

the class MentionDetectionEvaluator method main.

public static void main(String[] args) throws Exception {
    Properties props = StringUtils.argsToProperties(new String[] { "-props", args[0] });
    Dictionaries dictionaries = new Dictionaries(props);
    CorefProperties.setInput(props, Dataset.TRAIN);
    new MentionDetectionEvaluator().run(props, dictionaries);
}
Also used : Dictionaries(edu.stanford.nlp.coref.data.Dictionaries) Properties(java.util.Properties) CorefProperties(edu.stanford.nlp.coref.CorefProperties)

Aggregations

Dictionaries (edu.stanford.nlp.coref.data.Dictionaries)6 Properties (java.util.Properties)4 CorefProperties (edu.stanford.nlp.coref.CorefProperties)3 CorefCluster (edu.stanford.nlp.coref.data.CorefCluster)2 Document (edu.stanford.nlp.coref.data.Document)2 DocumentMaker (edu.stanford.nlp.coref.data.DocumentMaker)2 Mention (edu.stanford.nlp.coref.data.Mention)2 CoreLabel (edu.stanford.nlp.ling.CoreLabel)2 IndexedWord (edu.stanford.nlp.ling.IndexedWord)2 ArrayList (java.util.ArrayList)2 Dataset (edu.stanford.nlp.classify.Dataset)1 GeneralDataset (edu.stanford.nlp.classify.GeneralDataset)1 CorefRules (edu.stanford.nlp.coref.CorefRules)1 CorefSystem (edu.stanford.nlp.coref.CorefSystem)1 CorefUtils (edu.stanford.nlp.coref.CorefUtils)1 MentionType (edu.stanford.nlp.coref.data.Dictionaries.MentionType)1 Number (edu.stanford.nlp.coref.data.Dictionaries.Number)1 Person (edu.stanford.nlp.coref.data.Dictionaries.Person)1 DocType (edu.stanford.nlp.coref.data.Document.DocType)1 RuleBasedCorefMentionFinder (edu.stanford.nlp.coref.md.RuleBasedCorefMentionFinder)1