Code Monkey home page Code Monkey logo

unitynlp's Introduction

Unity NLP

This package references 2 repositories, OpenNLP and CherubNLP. UnityNLP is a collection of natural language processing tools written in C# that is targeted towards the Unity Engine. Currently it provides the following NLP tools:

  • tokenizer
  • sentence splitter
  • part-of-speech tagger
  • chunker (used to "find non-recursive syntactic annotations such as noun phrase chunks")
  • parser
  • name finder
  • coreference tool
  • interface to the WordNet lexical database
  • topical classifier

You can find the documentation at: https://unitynlp.readthedocs.io/

Table of contents

Installation

External dependencies:

  1. Clone the UnityUtil repository into your Packages folder.
  2. Clone the UnityAI repository into your Packages folder.
  3. Clone this repository into your Packages folder.
  4. Download all essential models and import them into the project.
  5. Place the models in the StreamingAssets folder.
  6. And you are ready to go!

Make a feature request in the issues tab if you think there is something missing or if you have new ideas!

Examples

All the sample code are in the Samples~ folder which can be imported into unity from the package manager.

Tokenizer

Tokenize

Sentence Splitter

SentenceSplitter

Part of Speech

For the full list of part of speech abbreviations, please refer to the Penn Treebank Project.

POS

Named Entity Recognition

NER

Multinomial Naive Bayes Classifier

NBClassifier

Support the project!

patreon kofi

Join the community!

discord

License

This repository as a whole is licensed under the Apache License 2.0. Individual files may have a different, but compatible license.

See license file for details.

References

unitynlp's People

Contributors

nixon-voxell 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.