.NET 6.0
dotnet add package SimpleNetNlp --version
NuGet\Install-Package SimpleNetNlp -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimpleNetNlp" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleNetNlp --version
#r "nuget: SimpleNetNlp,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SimpleNetNlp as a Cake Addin
#addin nuget:?package=SimpleNetNlp&version=

// Install SimpleNetNlp as a Cake Tool
#tool nuget:?package=SimpleNetNlp&version=

SimpleNetNlp NuGet Made in Ukraine

SimpleNetNlp is a simple, C#-way wrapper for Stanford CoreNLP that based on Stanford.NLP.NET.

Quick Start

Just install the main SimpleNetNlp package and the model packages you need...

    Install-Package SimpleNetNlp
    Install-Package SimpleNetNlp.Models.PosTagger

...and use it.

using SimpleNetNlp;
var sentence = new Sentence("Your sentence should go here.");
var words = sentence.Words;
var lemmas = sentence.Lemmas();
var pos = sentence.PosTags();


  1. Simple. SimpleNetNlp is based on Simple CoreNLP API that provides a simple API for users who do not need a lot of customization. If you want to start working with NLP as fast and easily as possible, and do not care about the details of the behaviors of the algorithms, this package is perfect for you.
  2. C#-way. SimpleNetNlp provides a 100% C# API without Java classes. Use the Force of LINQ and other C# magic, Luke!
  3. Clean Namespaces.. IKVM.NET and Stanford.NLP.NET are delivered as content, so available namespaces in your project aren't littered with Java namespaces.
  4. Model Packages. The large 'Stanford CoreNLP Models' Java package is split into small Nuget packages, one per feature. Just install individual models for your task.


The first three digits of the version of any package match the version of Stanford CoreNLP in use. The last fourth digit is used for numbering the own package releases. With the transition to the new version of Stanford CoreNLP, this digit is reset to 0. E.g., v. is the 8th release with Stanford CoreNLP v.3.8.0 used.

Since only one digit is used for the library's own releases, its change can mean major changes as well. When updating the used library version, please always refer to the release notes.

The first three digits of the installed main SimpleNetNlp package and model packages must match (ie, use the same version of Stanford CoreNLP). The fourth digits may not match because each package can be released and updated separately, but for model packages among releases with the same three digits, it is recommended to use the versions with the highest fourth digits.

NLP Methods ↔ Model Packages

Different NLP features require different model packages to be installed, in addition to the main SimpleNetNlp package.

All properties and methods of standard C# interfaces (like Equals() or ToString()) don't require additional model packages - you can start using them immediately without any worries.

When you call a method without installing the required model packages, the SimpleNetNlp.Exceptions.MissingModelException exception will be thrown. The model-dependent APIs are listed below. In addition, each method has a description of the required model packages in XML-doc.

Document class

Method Packages
Coref() Nuget<br>Nuget<br>Nuget<br>Nuget<br>Nuget<br>Nuget

Sentence class

Method Packages
Lemmas() Nuget
NerTags() Nuget<br>Nuget
PosTags() Nuget
OpenIe() Nuget<br>Nuget<br>Nuget
Governors() Nuget<br>Nuget
IncomingDependencyLabels() Nuget<br>Nuget
Sentiment() Nuget<br>Nuget
Mentions() Nuget<br>Nuget
Kbp() Nuget<br>Nuget<br>Nuget<br>Nuget<br>Nuget<br>Nuget
Coref() Nuget<br>Nuget<br>Nuget<br>Nuget<br>Nuget<br>Nuget
Operators() Nuget<br>Nuget
NaturalLogicPolarities() Nuget<br>Nuget

SentenceAlgorithms class

Method Packages
HeadOfSpan() Nuget<br>Nuget
KeyphraseSpans() Nuget
Keyphrases() Nuget
DependencyPathBetween() Nuget<br>Nuget
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 482 7/15/2023 247 5/20/2023
4.5.0 408 4/29/2023
3.8.0 2,837 2/1/2018 1,270 8/16/2017
3.7.0 3,294 8/16/2017

- Added new properties and methods to the Document class: OriginalText, Coref, ToJson, ToXml.
- Added new properties and methods to the Sentence class: OriginalText, Before, After, Mentions, Kbp, Operators, Coref, NaturalLogicPolarities.
- Overridden equality operators for all classes.