sentanceparser
1.0.0
Using context-free grammar formalism to parse English sentences to determine their structure to help computer to better understand the meaning of the sentence.
$ git clone https://github.com/krvaibhaw/sentanceparser.git
$ cd sentanceparser
$ pip install requirements.txt
$ python parser.py
And enter the sentence. Or,
$ python parser.py <sentance folder path>/<file.txt>
Example :
$ python parser.py sentences/1.txt
Output after parsing
Parsed sentance along with the derivation tree
Sample output can be accessed in samples section.
Contributions are welcome!
Please feel free to submit a Pull Request.