Annalisa
Simple analyzer. Given an string, produces associated data.
Usage
Installation
Via npm on Node:
npm install annalisa
Usage
Reference in your program:
var anna = ;
Example
After configuring the analyzer with rules
var result = anna;// { type: 'car', company: 'Ford Motors', model: 'T' }
Another example
var result = anna;// { category: 'Butter', flavor: 'Peanut', weight: 800, unit: 'gr' }
Versions
- 0.0.1 Published
- 0.0.2 Published. Using simplied words in search. Analyze recognize numbers with point or comma as decimal point.
- 0.0.3 Published. q to k in simplify, more preciosa use cases
- 0.0.4 Published, z to s in simplify, initial vowel preserved in simplify, treatment for spaces, null, empty string in analyze and search
- 0.0.5 Published, rules as function with raw option
- 0.0.6 Published, normalize with options, annalisa exposes normalize function
License
MIT
Contribution
Feel free to file issues and submit pull requests — contributions are welcome<
If you submit a pull request, please be sure to add or update corresponding
test cases, and ensure that npm test
continues to pass.