pegram
pegram is an attempt to develop human phrase recognitions using PEG grammar knowledge bases and the PEG javascript parser
Features
- Detects most french grammar terms with help of wiktionary.org
- Useful logging console with ANSI colors
- Comes with a custom HTML parser written with a PEG grammar
See the todo-list for all pegram plans If you want to see other stuff, please contact me on the enhancement section or make a pull request.
Getting started
Install
If you have already Node.js with npm installed , type
npm install pegram
You can also download the master branch sources and install it with :
npm install
Execute
Go to the unzipped directory and execute pegram :
node pegram.js
You can now access http://localhost:8000, and visualize the decoding of the string into a JSON grammar tree (see the javascript console).