1

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?

asked Oct 28, 2017 at 17:50
4
  • did you try pip?! Commented Oct 28, 2017 at 17:52
  • it is mentioned in the github website under configuration section github.com/anoopkunchukuttan/indic_nlp_library Commented Oct 28, 2017 at 17:52
  • @chakri It's just setting some directories to path. Commented 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 python Commented Oct 28, 2017 at 18:38

5 Answers 5

1

$ pip3 install indic

This command worked for me.

answered Mar 22, 2019 at 17:04
Sign up to request clarification or add additional context in comments.

Comments

1

Below installation worked for me.

pip install indic-nlp-library

answered Apr 4, 2022 at 7:32

Comments

0

It's pretty easy to install with pip:

$ pip install --user indic
answered Oct 28, 2017 at 17:52

1 Comment

it still says No module named indicnlp
0

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

answered Oct 28, 2017 at 17:58

7 Comments

I want to know how to install that specific package
pip install indic ?
indic != indicnlp
Yes I did. Didn't work i.e. "No module named indicnlp"
Download from github.com/anoopkunchukuttan/indic_nlp_library/zipball/master and unzip in your python library directory. Then you can import it in your code. >>> from indicnlp.tokenize import indic_tokenize >>>
|
0

#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.

answered Jan 5, 2022 at 3:21

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.