Coder Social home page Coder Social logo

Comments (4)

anoopkunchukuttan avatar anoopkunchukuttan commented on August 21, 2024

iwn.all_synsets() raises this exception for the following languages:
assamese, bodo, gujarati, kannada, kashmiri, malayalam, oriya, punjabi, telugu

iwn.all_words() raises this exception for the following languages:
kashmiri, marathi, nepali, punjabi, sanskrit, tamil

from pyiwn.

suman101112 avatar suman101112 commented on August 21, 2024

for all_synsets() index out of range exception, sir, please check the data files in pyiwn_data. Some parsed files have unnecessary tabs. I had the same problem with Telugu data. I just modified the data files and removed unnecessary tabs

from pyiwn.

ranjansarma avatar ranjansarma commented on August 21, 2024

For assamese the file pyiwn_data/synsets/all.assamese has unnecessary tabs in lines with synset id 5144,12021,17105.
Removing it works for me.

from pyiwn.

riteshpanjwani avatar riteshpanjwani commented on August 21, 2024

Hi All,

I have completely revamped the inner workings of the library and have fixed these issues. I would recommend you to do a full clean reinstall:

pip uninstall pyiwn
pip install --upgrade pyiwn

And follow the steps in this examples notebook: https://github.com/riteshpanjwani/pyiwn/blob/master/examples/example.ipynb

Regards,
Ritesh

from pyiwn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.