@anilredshift/nlp

Javascript port of clips/pattern NLP utilities

Usage no npm install needed!

<script type="module">
  import anilredshiftNlp from 'https://cdn.skypack.dev/@anilredshift/nlp';
</script>

README

@anilredshift/nlp

https://github.com/clips/pattern/ contains a suite of NLP tools, written in python2. This is a javascript port of the text features of pattern.

The codebase is compatible with both browsers as well as node.

Currently implemented

v0.0.18 - en.singularize()

Usage

import nlp from '@anilredshift/nlp'
nlp.en.singularize('rookies'); // returns 'rookie'

Installation

yarn add @anilredshift/nlp

Compiling

yarn build

Distributing

npm version patch && yarn deploy

Running the tests

yarn test