Patent ID: 11907656
Assignee: VERINT AMERICAS INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. A non-transitory computer readable medium comprising instructions that, when executed by a processor of a processing system, cause the processing system to perform a method, the method comprising:
identifying a contraction in the electronic text;
substituting an expanded form of the contraction in the text for the contraction if the library of contractions defines only a single expanded form of the contraction;
if the library of contractions defines more than one expanded form of the contraction, substituting each expanded form of the contraction in the text and performing a grammar check to provide a grammar score for each expanded form in context of the text and evaluating if only one expanded form is grammatically correct;
if only one expanded form is grammatically correct, substituting the grammatically correct expanded form in the text for the contraction;
if the more than one expanded form is grammatically correct or no expanded form is grammatically correct, measuring similarity of each expanded form with respect to the electronic text, wherein the measuring similarity comprises converting all expanded forms and the contraction to vector representations using a word embedding model and calculating a word movers distance for each expanded form with respect to the electronic text;
selecting an expanded form for substitution of the contraction in the text based on the grammar score and the measured similarity; and
substituting the selected expanded form for the contraction in the text.