Patent Document ID: 9824084
Application ID: 15516102

Base Claim:
1. A computer-implemented method of processing a first text stream for execution by a processor, the method comprising: accessing, from a non-transitory computer-readable medium, the first text stream; parsing the first text stream by breaking the first text stream down into a first collection of words; analysing the first collection of words to identify a homonym candidate, the homonym candidate being associated with a first meaning and a second meaning; generating a homonym word pattern, the homonym word pattern comprising at least one word of the first collection of words, the at least one word being selected based on a distance between the at least one word and the homonym candidate in the first text stream, the distance being a number of words separating the at least one word of the first collection of words from the homonym candidate in the first text stream; determining, for at least one word of the homonym word pattern, a first context element; generating a homonym context pattern, the homonym context pattern being at least partially based on the first context element; parsing a second text stream by breaking the second text stream down into a second collection of words, the second collection of words being distinct from the first collection of words, the second text stream being in a same language as the first text stream; analysing the second collection of words to identify a non-homonym candidate, the non-homonym candidate being associated with a lexical tag; if a non-homonym context pattern at least partially matches the homonym context pattern, the non-homonym context pattern being at least partially based on a second context element determined for at least one word of a non-homonym word pattern, assigning the lexical tag associated with the non-homonym candidate to the homonym candidate; storing, to a memory coupled to the processor, the lexical tag; and rendering the lexical tag on a display of an electronic device.

---

Claim 7:
7. The method of claim 1 , wherein generating the homonym context pattern is based on multiple context elements, each one of the multiple context elements being determined for the corresponding word of the homonym word pattern, the multiple context elements including the first context element.