• Post Reply Bookmark Topic Watch Topic
  • New Topic

Information Extraction from a sentence.  RSS feed

 
Ajay Singh
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

Pardon me if i am posting in a wrong forum.I am making a small application in java whose input would be a sentence containing an idiom.
Ex-->Dad would hit the celing,if he comes to know of the broken glass.Here the sentence implies that dad would be extremely angry
if he comes to know of the broken glass.So the output of such a system should be "bad" (from an output of good,bad,neutral)."I am over the moon
with your hardwork" would give an ouput as "good".Basically i am capturing the sentiment from a sentence containing an idiom.
i am thinking of the following steps
1)Identify the idiom based on some Corpus,in the sentence
2) Identify the contextual usage of idiom in the sentence and store the information somewhere.(particular idiom can be ambiguous in different sentences)
3)Map the idiom to good/bad/neutral using 2
Can someone guide me if this approach is the correct way or any other ideas on how to proceed to make such a system.

Thanks
Ajay
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Difficult to explain briefly. Have you got an artificial intelligence book? That sort of question is a standard part of artificial intelligence/natural language parsing.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!