Programming/Old
#Natural Language Processing With Python 실습 관련
kkennib
2017. 7. 31. 10:55
반응형
외국 사이트를 뒤졌지만 뾰족한 해결책이 안 나오다가 아래의 한국 블로거 덕분에 설치했다 ㅠㅠ...
파이썬은 초보라서 커맨드창이 영 익숙하지가 않다.
http://excelsior-cjh.tistory.com/entry/python35%EC%97%90-NLTK-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0
#numpy 설치
> pip install numpy
*NumPy is the fundamental package for scientific computing with Python
>>> import numpy as np
>>> print(np.matrix([[1,2], [2,3]))
#nltk 설치
> pip install nltk
[Optional or Error] > pip install numpy --unpgrade (optional)
>>> import nltk
>>> nltk.download()
>>> from nltk.corpus inport brown
>>> brown.words()
#matpotlib 설치
> python -m pip install --upgrade pip
> python -m pip install matpotlib
반응형