updated readme.

This commit is contained in:
Moos 2014-09-25 23:47:25 -07:00
parent 97cd4d2f85
commit 787b39eb49
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ Please note: all API are *async* since the underlying WordNet library is async.
#### getAdjectives(text, callback) #### getAdjectives(text, callback)
#### getAdverbs(text, callback) #### getAdverbs(text, callback)
Get part-of-speech from `text`. `callback(results)` receives and array of words for specified POS, or a hash for `getPOS`: Get part-of-speech from `text`. `callback(results)` receives and array of words for specified POS, or a hash for `getPOS()`:
``` ```
wordpos.getPOS(text, callback) -- callback receives a result object: wordpos.getPOS(text, callback) -- callback receives a result object:
@ -230,7 +230,7 @@ Returns tokenized array of words in `text`, less duplicates and stopwords. This
#### WordPOS.WNdb #### WordPOS.WNdb
Access to the [WNdb](https://github.com/moos/WNdb) object containing the dictionary & index files Access to the [WNdb](https://github.com/moos/WNdb) object containing the dictionary & index files.
#### WordPOS.natural #### WordPOS.natural
Access to underlying [natural](http://github.com/NaturalNode/natural) module. For example, WordPOS.natural.stopwords is the list of stopwords. Access to underlying [natural](http://github.com/NaturalNode/natural) module. For example, WordPOS.natural.stopwords is the list of stopwords.