Resource 'tokenizers/punkt/english.pickle' not found.

Resource 'tokenizers/punkt/english.pickle' not found.

Hi,

I am running a program in nltk and its giving following error:

  Resource 'tokenizers/punkt/english.pickle' not found.  Please
  use the NLTK Downloader to obtain the resource:  >>>
  nltk.download()
  Searched in:
    - 'C:\\Users\\user/nltk_data'
    - 'C:\\nltk_data'
    - 'D:\\nltk_data'
    - 'E:\\nltk_data'
    - 'C:\\ProgramData\\Anaconda3\\nltk_data'
    - 'C:\\ProgramData\\Anaconda3\\lib\\nltk_data'
    - 'C:\\Users\\user\\AppData\\Roaming\\nltk_data'
    - ''

How to resolve this error?

Thanks

View Answers

February 4, 2018 at 2:01 AM

Hi,

To resolve this error install punkt on your nltk with following command:

import nltk
nltk.download('punkt')

Regards Deepak Kumar









Related Tutorials/Questions & Answers:
Resource 'tokenizers/punkt/english.pickle' not found.
Resource 'tokenizers/punkt/english.pickle' not found.  Hi, I am running a program in nltk and its giving following error: Resource 'tokenizers/punkt/english.pickle' not found. Please use the NLTK Downloader to obtain
Resource 'tokenizers/punkt/english.pickle' not found.
Resource 'tokenizers/punkt/english.pickle' not found.  Hi, I am running a program in nltk and its giving following error: Resource 'tokenizers/punkt/english.pickle' not found. Please use the NLTK Downloader to obtain
Advertisements
Resource 'corpora/wordnet' not found.
Resource 'corpora/wordnet' not found.  Hi, I am working on NLTK project for Big Data and while running a program it throws error: Resource 'corpora/wordnet' not found. Complete error log: Resource 'corpora/wordnet' not found
Resource 'corpora/wordnet' not found.
Resource 'corpora/wordnet' not found.  Hi, I am working on NLTK project for Big Data and while running a program it throws error: Resource 'corpora/wordnet' not found. Complete error log: Resource 'corpora/wordnet' not found
http 404 resource not found error
http 404 resource not found error   Sir, I have downloaded your... in tomcat manager. But when I try to run I am getting http 404 requested resource not found error. Kindly advise. ss
Resource 'taggers/averaged_perceptron_tagger/averaged_perceptron _tagger.pickle' not found
error: Resource 'taggers/averagedperceptrontagger/averaged_perceptron _tagger.pickle' not found Detail error log: Resource 'taggers/averaged_perceptron_tagger...Resource 'taggers/averaged_perceptron_tagger/averaged_perceptron _tagger.pickle
Resource 'taggers/averaged_perceptron_tagger/averaged_perceptron _tagger.pickle' not found
error: Resource 'taggers/averagedperceptrontagger/averaged_perceptron _tagger.pickle' not found Detail error log: Resource 'taggers/averaged_perceptron_tagger...Resource 'taggers/averaged_perceptron_tagger/averaged_perceptron _tagger.pickle
Path was not found
Path was not found  The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
identifier not found
identifier not found  Getting compilation error " identifier not found " please explain ?   identifier means variable name,,,,make sure it same as declaration
mycustomer.hbm.xml not found
: org.hibernate.MappingNotFoundException: resource: p1.mycustomer.hbm.xml not found...="hibernate.hbm2ddl.auto">create</property> <mapping package="p1" resource...(); //Query q=s.createQuery("from mycustomer"); //q.setCacheable(true); //l
mycustomer.hbm.xml not found
: org.hibernate.MappingNotFoundException: resource: p1.mycustomer.hbm.xml not found...;mapping package="p1" resource="p1.mycustomer.hbm.xml"/> </session...(); org.hibernate.Session s=sf.openSession(); Transaction t=s.beginTransaction(); //Query q
File not found
not found
File not found
not found
File not found
"(specified file not found
File not found
"(specified file not found
File not found
getting an error "emp_code.doc"(specified file not found)  Hi Friend
File not found
not found)  Hi Friend, Visit Here Thanks
Steps not found.
Steps not found.  import java.io.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; public class Details1 extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse
Resource Leak
Resource Leak  What Is Resource Leak
class not found exception
class not found exception  org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterprint("code sample
ModuleNotFoundError: No module named 'found'
ModuleNotFoundError: No module named 'found'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'found' How to remove the ModuleNotFoundError: No module named 'found'
javax.servlet not found error
javax.servlet not found error  why iam getting javax.servlet error while running my servlet program...after setting the classpath also i am finding that problem
javascript image not found
javascript image not found  javascript if image not found   <a href='$image'> <img alt='No Image' src='$image' onError="this.parentNode.onclick=function() {return(false);}"> </a>â
unrar command not found in linux
unrar command not found in linux  Hi, I am trying to unrar a file in Linux with following command: unrar myfile.rar Here is complete log...' not found, but can be installed with: sudo apt install unrar-free sudo apt install
no def found - JSP-Servlet
no def found  i have used the code of file upload from rose india but when i run no def found for fileupload exception although i have put jar file in lib folder code i get from D:\project\Uploading Employee Profile
CLASS NOT FOUND EXCEPTION
CLASS NOT FOUND EXCEPTION   I AM USING INTERNET EXPLORER VERSION 6.00... NOT FOUND EXCEPTION AND THE BOX IS DISPLAYED AND I CLICK ON DETAILS BUTTON...: trigger logging q: hide console r: reload policy configuration s
pyspark lit function not found
pyspark lit function not found  Hi, I want to use the lit function in PySpark Program. But unable to find it to use in program. How to use pyspark lit function and remove the pyspark lit function not found error
class not found error - JDBC
class not found error  thanks for your response. please clarify the following doubts. i am having the specified mysql connector jar file. where that jar file has to be placed. also does the jdbc driver need to be installed
Hadoop command not found
Hadoop command not found  Hi, I am trying to put file with the command: hadoop fs -put test.txt /test/ But its saying hadoop command not found. How to resolve this? Thanks   Hi, This error means that you have
Resource Manager
Resource Manager   Hi... What is a resource Manager in Flex? Please tell me the answer of this question. Thanks  Ans... that extend UIComponent, validator or formatter now have a new resource property
ejabberd_ctl.beam not found - Solved
ejabberd_ctl.beam not found - Solved  Hi, I installed ejabberd ejabberd-16.01-linux-x86_64-installer.run but it is giving following error: root@deepak:/opt/ejabberd-16.01/bin# ./ejabberdctl available_modules =ERROR REPORT
SQLException caught: No data found
SQLException caught: No data found  i m using ms office 2010, n when i run my source code it is giving error SQLException caught:No data found, plz help me why i am getting this exception, thanks alot, my source code
Error:No Class Found Exception:org.postgresql.driver
Error:No Class Found Exception:org.postgresql.driver  Error:No Class Found Exception:org.postgresql.driver while connecting JDBC With PostgreSQL 8.4 I m running My Program with java 6.0
unable to import class com.opensymphony.xwork2.ActionContext not found
unable to import class com.opensymphony.xwork2.ActionContext not found  Imported class com.opensymphony.xwork2.ActionContext not found gettin the above error
incomplete final line found by readTableHeader on
incomplete final line found by readTableHeader on  Hi, I am reading...", fileEncoding="UTF-16", dec="\t") invalid input found on input connection 'Expdesign.txt'incomplete final line found by readTableHeader on 'myfile.txt'> How
incomplete final line found by readTableHeader on
incomplete final line found by readTableHeader on  Hi, I am reading...", fileEncoding="UTF-16", dec="\t") invalid input found on input connection 'Expdesign.txt'incomplete final line found by readTableHeader on 'myfile.txt'> How
Java file not found exception
Java file not found exception This section illustrates you the concept of file not found exception. Java provides a powerful concept of Exceptions... by a code. When a file with the specified pathname does not exist, file not found
Command 'gem' not found, but can be installed with
Command 'gem' not found, but can be installed with  Hi, I am trying to install once software with gem but its giving following error on Ubuntu: Command 'gem' not found, but can be installed with: sudo snap install ruby
Message Resource Bundle work.
Message Resource Bundle work.  How does Value replacement in Message Resource Bundle work
make: gcc: Command not found ubuntu
make: gcc: Command not found ubuntu  Hi, I am getting following error while installing a program in Ubuntu. Building native extensions. This could take a while... ERROR: Error installing zombie_writer: ERROR: Failed
ModuleNotFoundError: No module named 'Resource'
ModuleNotFoundError: No module named 'Resource'  Hi, My Python... 'Resource' How to remove the ModuleNotFoundError: No module named 'Resource... to install padas library. You can install Resource python with following
ModuleNotFoundError: No module named 'Resource'
ModuleNotFoundError: No module named 'Resource'  Hi, My Python... 'Resource' How to remove the ModuleNotFoundError: No module named 'Resource... to install padas library. You can install Resource python with following
exception handling code for file not found error..
exception handling code for file not found error..  How to do exception handling for file not found error
MySQL server PID file could not be found! [FAILED]
MySQL server PID file could not be found! [FAILED]  MySQL server PID file could not be found! [FAILED
ubuntu disco Release 404 Not Found
://in.archive.ubuntu.com/ubuntu disco Release 404 Not Found [IP: 43.255.166.254 80] Err:5 http://in.archive.ubuntu.com/ubuntu disco-updates Release 404 Not Found [IP... Release 404 Not Found [IP: 43.255.166.254 80] Ign:7 http://security.ubuntu.com
java access resource bundle
java access resource bundle  java access resource bundle   //resource bundle <resource-bundle> <base-name>/resources/bundle</base-name> <var>bundle</var> </resource-bundle>
SQLException:Column not found? (help me:(
SQLException:Column not found? (help me:(  import javax.swing.*; import java.sql.*; import java.awt.*; import java.awt.event.*; public class Mini2 extends JFrame implements ActionListener { String userid="data",password="1234
ModuleNotFoundError: No module named 'Better-Than-You-Found-It'
ModuleNotFoundError: No module named 'Better-Than-You-Found-It'  Hi...: No module named 'Better-Than-You-Found-It' How to remove the ModuleNotFoundError: No module named 'Better-Than-You-Found-It' error? Thanks  
ModuleNotFoundError: No module named 'Better-Than-You-Found-It'
ModuleNotFoundError: No module named 'Better-Than-You-Found-It'  Hi...: No module named 'Better-Than-You-Found-It' How to remove the ModuleNotFoundError: No module named 'Better-Than-You-Found-It' error? Thanks  
Resource files in iphone
Resource files in iphone  hiii how can we use resource files... file in your application the first you have to added it in your resource folder .. right click on the resource group and then select add file and then click

Ads