SimpleNetNlp.Models.Parser

Resource package that contains parser for SimpleNetNlp project (simple C# wrapper for Stanford CoreNLP).


Keywords
CoreNLP, nlp, parser, stanford, c-sharp, csharp-library, netframework, nlp-library, nuget, wrapper
License
MIT
Install
Install-Package SimpleNetNlp.Models.Parser -Version 4.5.5

Documentation

SimpleNetNlp NuGet

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;

Features

  1. 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.
  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 by Java namespaces.
  4. 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.

Function-Model Packages Mapping

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.

Function Required Packages
Lemmas SimpleNetNlp.Models.PosTagger NuGet
NerTags SimpleNetNlp.Models.PosTagger NuGet SimpleNetNlp.Models.Ner NuGet
PosTags SimpleNetNlp.Models.PosTagger NuGet
OpenIe SimpleNetNlp.Models.PosTagger NuGet SimpleNetNlp.Models.Parser NuGet SimpleNetNlp.Models.Naturalli NuGet
Governors SimpleNetNlp.Models.PosTagger NuGet SimpleNetNlp.Models.Parser NuGet
IncomingDependencyLabels SimpleNetNlp.Models.PosTagger NuGet SimpleNetNlp.Models.Parser NuGet
Sentiment SimpleNetNlp.Models.LexParser NuGet SimpleNetNlp.Models.Sentiment NuGet