CPC G06F 40/274 (2020.01) [G06F 40/30 (2020.01); G06N 3/088 (2013.01)] | 15 Claims |
1. A computer implemented method of context based autocomplete of text, comprising:
in an inference phase of an operation of autocomplete of text:
receiving input text;
feeding the received input text into a context-prediction component of a machine learning model;
identifying a context associated with said input text from a plurality of predefined contexts, by analyzing said input text by said context-prediction component that selects said context out of said plurality of pre-defined contexts;
selecting a context-specific component from a plurality of context-specific components according to the identified context, wherein each of said context-specific components is trained to generate autocompleted text, said training of each of the plurality of context-specific components is conducted by initially using generic text and then improving each respective context-specific component by re-training using text associated with a specific context, said specific context is different for each of the plurality of context-specific components and corresponds to one of the plurality of pre-defined contexts;
feeding said received input text to the selected context-specific component;
generating autocomplete text associated with the identified context, wherein said autocomplete text is outputted by said selected context-specific component; and
providing the autocomplete text.
|