SimpleNetNlp is a simple, C#-way wrapper for Stanford CoreNLP that based on Stanford.NLP.NET.
Just install wrapper package and required models for your task...
Install-Package SimpleNetNlp
Install-Package SimpleNetNlp.Models.PosTagger
...and use it.
var sentence = new Sentence("Your text should go here");
var lemmas = sentence.Lemmas;
var pos = sentence.PosTags;
- Simple. SimpleNetNlp is based on Simple CoreNLP that provides a simple API for users who do not need a lot of customization. If you want just use nlp to work as fast and easily as possible, and do not care about the details of the behaviors of the algorithms, this package is ideal for you.
- C#-way. SimpleNetNlp provides a 100% C# API without Java classes. Use the Force of LINQ and other C# magic, Luke!
- Clean Namespaces.. IKVM.NET and Stanford.NLP.NET are delivered as content, so available namespaces in your project aren't littered by Java namespaces.
- Model Packages. The large 'Stanford CoreNLP Models' Java package is splitted into small Nuget packages, one per feature. Just install individual models for your task.
Different NLP features require different sets of model packages.
When you call a function without install required packages, it would be threw SimpleNetNlp.Exceptions.MissingModelException. Also each function has a description of required packages in xml-doc for this exception.
Case of using this package in interactive environments (such as fsi.exe) is detaily described in issue #1