NLP--- How to install the tool NLTK in Ubuntu ?

 

1. open the website of NLTK and download it. 

  https://pypi.python.org/pypi/nltk

 

2.  unzip this package and cd: 

  >>> cd /home/wangxiao/nltk-3.2.4

  >>> python setup.py install 

  ## you have installed this software at this point. 

  >>> python 

  >>> import nltk      ## if it did not show you any error, it denotes you have installed nltk successfully. 

  >>> nltk.download()   ## install the language packages. 

  >>> select all, then you will see blow ... 

  NLP--- How to install the tool NLTK in Ubuntu ?

  NLP--- How to install the tool NLTK in Ubuntu ?

   NLP--- How to install the tool NLTK in Ubuntu ?

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2021-12-16
  • 2022-12-23
  • 2021-05-29
  • 2021-06-17
猜你喜欢
  • 2021-07-18
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2021-08-18
  • 2021-12-07
  • 2022-12-23
相关资源
相似解决方案