/NounsAndNounPhrases

Scripts to get Nouns and Noun Phrases from a file.

Primary LanguagePython

Install packages

pip install -U textblob python-docx
python -m textblob.download_corpora

Run

For output formatted in a numbered list split into Nouns, and Noun Phrases:

getNounsAndNounPhrases.py input.file

For output as a single unnumbered list:

getNouns.py input.file

For output as a csv:

getNounsCSV.py input.file

Note:

input.file can be .docx, .doc (only on windows), or a plain text file (.txt)