This is an AI program that parses sentences and extracts noun phrases. It forms part of the projects for the course CS50’s Introduction to Artificial Intelligence with Python.
The program has below listed dependencies:
- nltk It is a suite of libraries and programs for symbolic and statistical natural language processing for English.
All the following commands assume that your current working directory is this directory. I.e.:
$ pwd
.../cs50_ai_parser
-
Install the required Python package nltk for the project:
pip3 install -r requirements.txt
-
Run the application:
py parser.py