Patent ID: 8260605

Claim:
A non-transitory machine-readable storage medium comprising computer-executable instructions that, when executed by a processor, cause the processor to: receive as input a target sentence comprising a target word; retrieve a gloss of the target word; parse the target sentence and the gloss; and assign a score to the gloss based on the gloss's coherence to the target sentence, wherein assigning the score comprises assigning a first score to the gloss based on dependency weights of the gloss and a database; assigning a second score to the gloss based on dependency weights of the gloss and the target sentence; assigning a third score to a second gloss based on dependency weights of the second gloss and the database; assigning a fourth score to the second gloss based on dependency weights of the second gloss and the target sentence; if the first score is higher than the third score, and the second score is higher than the fourth score, then selecting the gloss; and if the third score is higher than the first score, and the fourth score is higher than the second score, then selecting the second gloss.