#nlp-node Some cool rule-based tools for working with natural language in Nodejs.
- sentence parser
var nlp = require('nlp-node') nlp.sentence('Mr. Abraham J. Simpson is the father since Sept. 5th 1995. This is the second sentence.');
[ 'Mr. Abraham J. Simpson is the father since Sept. 5th 1995.', 'This is the second sentence.' ]
- singularize
nlp.singularize('earthquakes');
//earthquake
nlp.singularize("mama cass"); //mama cass
- date extractor
nlp.date_extractor('my wife left me on the 9th of april, 2005.');
{ text: '9th of april, 2005', from: { year: '2005', month: '04', day: '09' }, to: {} }