I am working with nltk in python. I imported the package and downloaded the additional data just fine, but I want to be able to append a new directory to store nltk_data.
When I tried this fix found at this link (How to config nltk data directory from code?)
nltk.data.path.append("path")
I received this error:
AttributeError: 'str' object has no attribute 'append'
What am I doing wrong?