I have just completed part 2. Text Preprocessing from the following exercise:
The script.py runs fine in the codecademy site, but when I try and replicate it in Atom, I am unable to access the ‘part of speech’ module.
I managed to download the following successfully:
from nltk.tokenize import word_tokenize
from nltk.stem import PorterStemmer
from nltk.stem import WordNetLemmatizer
But, running the line: ‘from part_of_speech import get_part_of_speech’ results in - ModuleNotFoundError: No module named ‘part_of_speech’.
I am unsure what to do to rectify this. Any help would be greatly appreciated, thanks!