Get Meaning of Ambiguous word
Project description
# 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 $ python pip install -U nltk '\n' nltk.download('stopwords') '\n' pip install Get_Wordsense `
# Demonstration
`python $ 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: - Author: Anant Dashpute - Email: <anantdashpute@gmail.com>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Wordsense-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a915e3622bb500f21ea27aa5161b46a9dcaca5f78124112032adff8934ff3d1a |
|
MD5 | aa1b0dc2a92a1ff7b59c17409d90e218 |
|
BLAKE2b-256 | 2431d9e1daa5d7f2a01078ff776206f172ca5612cf5e1ed5481624ae7530323a |