Coder Social home page Coder Social logo

simplenetnlp's Introduction

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

Using in Interactive Environments

Case of using this package in interactive environments (such as fsi.exe) is detaily described in issue #1

simplenetnlp's People

Contributors

yakivyusin avatar

Watchers

James Cloos avatar Hojjat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.