stanfordnlp / CoreNLP

CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
http://stanfordnlp.github.io/CoreNLP/
GNU General Public License v3.0
9.64k stars 2.7k forks source link

english.all.3class.distsim.crf.ser.gz ???? #1413

Closed NeilWP closed 6 months ago

NeilWP commented 7 months ago

Discussed in https://github.com/stanfordnlp/CoreNLP/discussions/1412

Originally posted by **NeilWP** January 30, 2024 The docs and advice I have for Entity search in a C# class suggest I install Stanford.NLP.Core.NLP and then execute against the ` var jarRoot = @"J:\STANDFORD.NLP\stanford-corenlp-4.5.5"; var classifiersDirec = jarRoot + @"\classifiers"; var classifier = CRFClassifier.getClassifierNoExceptions(classifiersDirec + @"\english.all.3class.distsim.crf.ser.gz"); return classifier.classifyToString(text); ` However in the download neither the .gz file nor the folder classifiers exist . Help text here is not very clear Assistance gratefully received, I cannot be the only person trying to execute an entity look up in a C# console app.
AngledLuffa commented 6 months ago

I really don't know anything about C# or using CoreNLP from C#. The model in question exists in the jar files downloaded with CoreNLP. One thing I can note is that you wrote STANDFORD whereas it's spelled STANFORD... not sure there's any correlation between that and it not finding the right path