JavaScript
Switch branches/tags
Nothing to show
Latest commit 2dc89d8 Jun 21, 2013 @amitamb Merge pull request #3 from tansaku/master
Merging changes from tansaku form
Permalink
Failed to load latest commit information.
README.md Added limitations Oct 22, 2012
index.html found someone else had implemented and shared Feb 13, 2013
natural.js Added browserified natural lib without clasifier and wordnet support Oct 22, 2012
qunit-1.10.0.css
qunit-1.10.0.js
removeStopWords.js found someone else had implemented and shared Feb 13, 2013
stopwords.js
tests.js found someone else had implemented and shared Feb 13, 2013

README.md

This is client side library extracted from natural language processing library for node

https://github.com/NaturalNode/natural

Installation

You just need to include natural.js in your project and can use following libraries from natural library.

Now you can access following object from natural.

SoundEx Metaphone DoubleMetaphone PorterStemmer PorterStemmerRu LancasterStemmer AggressiveTokenizerRu AggressiveTokenizer RegexpTokenizer WordTokenizer WordPunctTokenizer TreebankWordTokenizer NounInflector PresentVerbInflector CountInflector TfIdf SentenceAnalyzer NGrams JaroWinklerDistance LevenshteinDistance DiceCoefficient

All these objects are inside namespace natural

Example

You can use SoundEx using

if(natural.SoundEx.compare('phonetics', 'fonetix')) console.log('they sound alike!');

More Usage Examples

For more examples visit natural readme

Limitations

It doesn't yet support Classifiers and Wordnet.