This module is used to get Wordsense 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 >>>nltk.download('stopwords') >>>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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3d8a6b48f99e2ffcaf0ad6194272e04925adb5ba364d92cf6bc68fb172529ae |
|
MD5 | 3781932d8f6180a8d5ac210182fcd6b5 |
|
BLAKE2b-256 | c7195ffd14a987a4e8849066bf8bcbb13debb28bb66fb42a1c001e1ff1812fd6 |