I'm trying to run indic nlp library and there's an import statement
from indicnlp.tokenize import indic_tokenize
but nowhere is it mentioned how to install indicnlp or maybe I don't understand. Can anyone help me with it?
-
did you try pip?!DRPK– DRPK2017年10月28日 17:52:07 +00:00Commented Oct 28, 2017 at 17:52
-
it is mentioned in the github website under configuration section github.com/anoopkunchukuttan/indic_nlp_librarychakradhar kasturi– chakradhar kasturi2017年10月28日 17:52:27 +00:00Commented Oct 28, 2017 at 17:52
-
@chakri It's just setting some directories to path.user8849019– user88490192017年10月28日 18:30:02 +00:00Commented Oct 28, 2017 at 18:30
-
You need to download source and put it in the path or copy paste the content in src directory to site-packages of your pythonchakradhar kasturi– chakradhar kasturi2017年10月28日 18:38:02 +00:00Commented Oct 28, 2017 at 18:38
5 Answers 5
$ pip3 install indic
This command worked for me.
Comments
Below installation worked for me.
pip install indic-nlp-library
Comments
It's pretty easy to install with pip:
$ pip install --user indic
1 Comment
Download get-pip.py from below link get-pip.py
And download pip as
python get-pip.py
After that you can install modules using pip install modulename
7 Comments
>>> from indicnlp.tokenize import indic_tokenize >>> #for windows
-First search inside the window search box if there is a package called indicnlp
-if the folder contains tokenize.py you have to copy the path of indicnlp
-go to system variables and edit the path variable to add the copied path.
-restart your Jupyter notebook or whichever environment you are using.