ERROR/SQL

Please use the NLTK Downloader to obtain the resource:

onlyun 2022. 6. 14. 12:41

 

 

#파이썬 데이터 분석 시각화 #NLTK #Lemmatizer

 

LookupError: 
**********************************************************************
  Resource omw-1.4 not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('omw-1.4')
  
  For more information see: https://www.nltk.org/data.html

  Attempted to load corpora/omw-1.4.zip/omw-1.4/

  Searched in:
    - 'C:\\Users\\admin/nltk_data'
    - 'C:\\Users\\admin\\anaconda3\\nltk_data'
    - 'C:\\Users\\admin\\anaconda3\\share\\nltk_data'
    - 'C:\\Users\\admin\\anaconda3\\lib\\nltk_data'
    - 'C:\\Users\\admin\\AppData\\Roaming\\nltk_data'
    - 'C:\\nltk_data'
    - 'D:\\nltk_data'
    - 'E:\\nltk_data'
**********************************************************************


During handling of the above exception, another exception occurred:

 

 

-> 해결법

import nltk
nltk.download('omw-1.4')