Giter Site home page Giter Site logo

wordsense's Introduction

Wordsense

The whole idea of word sense is controversial. The meaning of a word is highly contextual and depends on its usage in sentence.

English is very difficult language to learn by robot as a lot of words are Ambiguous( Word with diffrent meanings).

To solve this state-of-the-art problem, we have implemented the solution using Knowledge-Based Method , which concerned with identifying which sense of a word is used in a sentence.

How to Install

$ python
>>>pip install -U nltk

>>>nltk.download('stopwords')

>>>pip install Get_Wordsense

Demonstration

$ python

>>>sentence = 'I went to the bank to deposit my money'

>>>ambiguous_word = 'bank'

>>>print Get_sense(sentence, ambiguous_word, pos=None, synsets=None)

'a financial institution that accepts deposits and channels the money into lending activities'

Cite

To cite Get_Wordsense:

Anant Dashpute. 2021. Get_Wordsense: Python Implementation of Get_Wordsense. Retrieved from https://github.com/DASHANANT/Get_Wordsense

References

  • Michael Lesk. 1986. Automatic sense disambiguation using machine readable dictionaries: how to tell a pine cone from an ice cream cone. In Proceedings of the 5th annual international conference on Systems documentation (SIGDOC '86), Virginia DeBuys (Ed.). ACM, New York, NY, USA, 24-26. DOI=10.1145/318723.318728 http://doi.acm.org/10.1145/318723.318728

  • Zhi Zhong and Hwee Tou Ng. 2010. It makes sense: a wide-coverage word sense disambiguation system for free text. In Proceedings of the ACL 2010 System Demonstrations. Association for Computational Linguistics, USA, 78โ€“83.

Suggestions

Feel free to drop your suggestion at the following email address:

wordsense's People

Contributors

dashanant avatar

Stargazers

 avatar

Watchers

 avatar

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.