Stanford.NLP for .NET not loading models
<p>I am trying to run the sample code <a href="https://sergey-tihon.github.io/Stanford.NLP.NET/StanfordCoreNLP.html" rel="nofollow noreferrer">provided here for Stanford.NLP for .NET</a>.</p>

<p>I installed the package via Nuget, downloaded the CoreNLP zip archive, and extracted stanford-corenlp-3.7.0-models.jar. After extracting, I located the "models" directory in stanford-corenlp-full-2016-10-31\edu\stanford\nlp\models.</p>

<p>Here is the code that I am trying to run:</p>

<pre><code> public static void Test1()
    {
        // Path to the folder with models extracted from `stanford-corenlp-3.6.0-models.jar`
        var jarRoot = @"..\..\..\stanford-corenlp-full-2016-10-31\edu\stanford\nlp\models\";

        // Text for processing
        var text = "Kosgi Santosh sent an email to Stanford University. He didn't get a reply.";

        // Annotation pipeline configuration
        var props = new Properties();
        props.setProperty("annotators", "tokenize, ssplit, pos, lemma, parse, ner,dcoref");
        props.setProperty("ner.useSUTime", "0");

        // We should change current directory, so StanfordCoreNLP could find all the model files automatically
        var curDir = Environment.CurrentDirectory;
        Directory.SetCurrentDirectory(jarRoot);
        var pipeline = new StanfordCoreNLP(props);
        Directory.SetCurrentDirectory(curDir);

        // Annotation
        var annotation = new Annotation(text);
        pipeline.annotate(annotation);

        // Result - Pretty Print
        using (var stream = new ByteArrayOutputStream())
        {
            pipeline.prettyPrint(annotation, new PrintWriter(stream));
            Console.WriteLine(stream.toString());
            stream.close();
        }
    }
</code></pre>

<p>I get the following error when I run the code:</p>

<blockquote>
  <p>A first chance exception of type 'java.lang.RuntimeException' occurred in stanford-corenlp-3.6.0.dll
  An unhandled exception of type 'java.lang.RuntimeException' occurred in stanford-corenlp-3.6.0.dll
  Additional information: edu.stanford.nlp.io.RuntimeIOException: Error while loading a tagger model (probably missing model file)</p>
</blockquote>

<p>What am I doing wrong? I really want to get this working. :(</p>