https://github.com/bitliner/simple-rules-engine
https://github.com/bitliner/simple-rules-engine
machine-learning nlp rules-engine
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitliner/simple-rules-engine
- Owner: bitliner
- License: apache-2.0
- Created: 2017-02-28T01:14:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-28T01:20:41.000Z (over 9 years ago)
- Last Synced: 2025-03-17T05:32:20.397Z (over 1 year ago)
- Topics: machine-learning, nlp, rules-engine
- Language: JavaScript
- Size: 329 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple-rules-engine
Simple rules engine written in Node.JS.
## Usage
```
let SimpleRuleEngine = require('../');
simpleRuleEngine = new SimpleRuleEngine();
simpleRuleEngine.add('the _w_ _w_ would be perfect'); // it will extract the placeholder _w_
console.log(simpleRuleEngine.run('the desktop app would be perfect')); // it will extract "dekstop, app"
```
return the following output:
