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.