473,407 Members | 2,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Finding a sense of word in a text

Dear all,

This might be off group but I am looking for a python library that can
help me to find a sense of a word in a text and eventually a list of
synonyms of that term. I searched the web and found one but it is
written in perl (http://www.d.umn.edu/~tpederse/senserelate.html) :(

I appreciate any pointers.

Thank you before hand.

Kind regards,

Sengly
Jun 27 '08 #1
5 1080
On 11 Cze, 19:10, Sengly <Sengly.H...@gmail.comwrote:
Dear all,

This might be off group but I am looking for a python library that can
help me to find a sense of a word in a text and eventually a list of
synonyms of that term. I searched the web and found one but it is
written in perl (http://www.d.umn.edu/~tpederse/senserelate.html) :(

I appreciate any pointers.
Search for terms like text mining and NLP.

PB
Jun 27 '08 #2
Thank you. I have tried but no luck :(

Regards,

Sengly

Jun 27 '08 #3
Sengly wrote:
Thank you. I have tried but no luck :(
NLTK, maybe? Searching for "synonym" within nltk.org gives

http://nltk.org/doc/en/words.html

Peter
Jun 27 '08 #4
On Jun 11, 1:10 pm, Sengly <Sengly.H...@gmail.comwrote:
Dear all,

This might be off group but I am looking for a python library that can
help me to find a sense of a word in a text and eventually a list of
synonyms of that term. I searched the web and found one but it is
written in perl (http://www.d.umn.edu/~tpederse/senserelate.html) :(

I appreciate any pointers.
http://osteele.com/projects/pywordnet/examples.html

HTH,
George
Jun 27 '08 #5
Thanks a lot everyone. I appreciate your suggestion.

But still, I could not find a simple way using wordnet since each term
might have several part of speech and each one of them can have many
senses. What I want is simply the list of synonyms of each term with
their popularity score in English text.

Once again, thank you.

Best regards,

Sengly
Jun 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Noam Dekers | last post by:
Hi all, I would like to find a word stored in a text file. Structure: I have one file named keyWords.txt that stores some key words I'm interested in finding. In addition I also have a file...
4
by: cassandra.flowers | last post by:
Hi, This is a simple thing, but I'm having a bit of difficulty getting it exact. I've tried a few different codes, but can't do what I want, can some one help please? I have 3 text boxes,...
5
by: sdowney717 | last post by:
Is there a way to construct a query to select for whole words only? select id from bookdata where titles like '%Test%' gets everything with test somewhere in the field. So you could get records...
46
by: dawn | last post by:
Hi all, I am now working on a C program under Unix. The requirement for the program is that: A file name is passed to program as a parameter. The program will Find files under a specified...
2
by: ElkGroveR | last post by:
Hi there! I'm using PHP to create a simple, dynamic MySQL SELECT query. The user chooses a selection from a HTML Form SELECT element's many options and submits the form via a POST action. ...
6
by: william.oram | last post by:
Here's a toughie for me. Using the GD library, I want to print a word or string as an image, but with some constant amount of padding around it. The text is not known beforehand. In other words,...
1
by: avik1612 | last post by:
Hi, I have created a program to find text files in a particular directory or folder. and to find a particular word in that files i finding it difficult to put the list in an array and finding...
275
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
8
crystal2005
by: crystal2005 | last post by:
I am writing a program that receive maximum of 25 line of string each has 20 characters maximum. The program will print the smallest and the largest string. However the following program gives me...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.