반응형

/*******************************************************************************************************************
-- Title : [Py3.5] NLTK3 다운로드 및 설치
-- Reference : pythionprogramming.net
-- Key word : nlp nltk nltk3 pip install download 설치 다운로드 nltk.download nltk 설치 nltk 다운로드
*******************************************************************************************************************/

# -- NLTK3 설치
#    For all users, that is done by opening up cmd.exe, bash, or whatever shell you use and typing:
c:/> pip install nltk



# -- NLTK Downloader 열기
>>> import nltk
>>> nltk.download()



# -- 선택 패키지 다운로드
>>> import nltk
>>>
>>> nltk.download('gutenberg')
>>> nltk.download('maxent_treebank_pos_tagger')


** 필요시 Corpus만 하면 될 수도..
C:> pip install textblob
C:> python -m textblob.download_corpora

반응형

+ Recent posts