Program to parse english sentence with Python's Natural Language Processing Toolkit
A common task in natural language processing is parsing, the process of determining the structure of a sentence. This is useful for a number of reasons: knowing the structure of a sentence can help a computer to better understand the meaning of the sentence, and it can also help the computer extract information out of a sentence. In particular, it’s often useful to extract noun phrases out of a sentence to get an understanding for what the sentence is about. This script is all about that. It uses Python NLTK package to perform tokenization of given sentence.
git clone https://github.com/ahmedivy/parser.git
pip3 install -r requirements.txt
python parser.py