title: Stanford CoreNLP Not Respecting Overrides
body: <p>I've modified several of the files used by CoreNLP for Coreference Resolution. It doesn't appear to be using that list. Has anyone had success in overriding their base dcoref dictionaries? </p>
  
  <p>Here is my code to get the CorefChain:</p>
  
  <pre><code>public class CorefChains {
  
      StanfordCoreNLP pipeline;
  
      public CorefChains() {
          Properties props = new Properties();
          props.put("dcoref.male","male.unigrams.txt");
          props.put("dcoref.female","female.unigrams.txt");
          props.put("dcoref.animate","animate.unigrams.txt");
          props.put("dcoref.inanimate","inanimate.unigrams.txt");
          props.put("dcoref.demonym","demonyms.txt");
          props.put("dcoref.neutral","neutral.unigrams.txt");
          props.put("annotators", "tokenize, ssplit, pos, lemma, ner, parse, dcoref");
          this.pipeline = new StanfordCoreNLP(props);
      }
  
      public Map&lt;Integer, CorefChain&gt; getCoreferences(String str) {
          Annotation document = new Annotation(str);
          pipeline.annotate(document);
          Map&lt;Integer, CorefChain&gt; graph = document.get(CorefChainAnnotation.class);
          return graph;
      }
  }
  </code></pre>
  
  <p>(I have also tried putting the dcoref properties after the pipeline properties.) </p>
  
  <p>Here is what Eclipse's debugger is showing me (I removed Malta from inanimatite.unigrams.txt, neutral.unigrams.txt, and demonyms.txt. I added it to female.unigrams.txt and animate.unigrams.txt). </p>
  
  <p><a href="https://i.stack.imgur.com/Xm4vh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xm4vh.png" alt="Eclipse Debugger"></a></p>