vivekkalyanarangan30 / Text-Clustering-API

Implementation of a text clustering algorithm using Kmeans clustering in order to derive quick insights from unstructured text
124 stars 46 forks source link

Resource averaged_perceptron_tagger not found. #1

Closed mrmrn closed 6 years ago

mrmrn commented 6 years ago

hi, I installed requirements one by one, afterall it gaves me this error: marn@mint18 ~/c/t/T/python> python CLAAS_public.py Traceback (most recent call last): File "CLAAS_public.py", line 70, in tagger = PerceptronTagger() File "/usr/local/lib/python2.7/dist-packages/nltk/tag/perceptron.py", line 140, in init AP_MODEL_LOC = 'file:'+str(find('taggers/averaged_perceptron_tagger/'+PICKLE)) File "/usr/local/lib/python2.7/dist-packages/nltk/data.py", line 673, in find raise LookupError(resource_not_found) LookupError:


Resource averaged_perceptron_tagger not found. Please use the NLTK Downloader to obtain the resource:

import nltk nltk.download('averaged_perceptron_tagger')

Searched in:

vivekkalyanarangan30 commented 6 years ago

Like the error suggests, please download the averaged_perceptron_tagger by typing nltk.download() in the python console and looking for it! Closing as it's just an nltk dependency issue