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. 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 3:20 AM
Hi,
To resolve this error install wordnet with following command:
import nltk
nltk.download('wordnet')
Here is installation log :
(C:\ProgramData\Anaconda3) C:\test2>python
Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 15 2017, 03:27:45) [MSC v.
1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import nltk
>>> nltk.download('wordnet')
[nltk_data] Downloading package wordnet to
[nltk_data] C:\Users\user\AppData\Roaming\nltk_data...
[nltk_data] Unzipping corpora\wordnet.zip.
True
>>>
This will solve error.
Thanks
Ads
Related Tutorials/Questions & Answers:
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
Advertisements
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
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
getting an error "emp_code.doc"(specified file not
found) Hi Friend
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
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
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
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
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?
Thanks
 
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
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