Thư Viện NLTK Trên Python - Ghi Chú: Học Tập & Công Việc

Skip to content

Require : + pip – trình quản lý modules cho python Setting: apt-get install python-pip Nếu có lỗi : sudo apt-get purge python-pkg-resources sudo apt-get -f install sudo apt-get install python-pip

Cài đặt :

1.Cài đặt Nltk

  1. Install NLTK: run sudo pip install -U nltk
  2. Install Numpy (optional): run sudo pip install -U numpy
  3. Test installation: run python then type import nltk

* Cài đặt nltk trên python2.7 thì bên python3 không gọi được và ngược lại

2. Cài đặt NLTK Data

nltk.download() * cài nltk trên VPS : http://textminingonline.com/dive-into-nltk-part-i-getting-started-with-nltk

Tham khảo : – http://www.nltk.org/install.html – http://textminingonline.com/dive-into-nltk-part-i-getting-started-with-nltk

Share this:

  • X
  • Facebook
Like Loading...

Related

Post navigation

Previous Post chmod folder and file ubuntuNext Post Triết lý

Leave a comment Cancel reply

Δ

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: Cookie Policy
  • Comment
  • Reblog
  • Subscribe Subscribed
    • Ghi chú: Học tập & Công việc
    • Sign me up
    • Already have a WordPress.com account? Log in now.
    • Ghi chú: Học tập & Công việc
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d Design a site like this with WordPress.comGet started

Từ khóa » Thư Viện Nltk Trong Python