User-specific text record-based format prediction
AssigneeGoogle Inc.
InventorsAbraham Ittycheriah, Adam Tishok, Max Kessler, Peter Likarish
Life of this patent
Estimating the term…
Abstract
A method for training a machine learning model included generating training data for the machine learning model. Generating the training data includes generating first training input that includes candidate text portions of one or more electronic documents and generating a first target output for the first training input. The first target output identifies a formatting type for each of the candidate text portions. The training data is provided to train the machine learning model on (i) a set of training inputs including the first training input, and (ii) a set of target outputs including the first target output.
Claims20
A method for training a machine learning model comprising:
- generating training data for the machine learning model, wherein generating the training data comprises:
- generating first training input comprising candidate text portions of one or more electronic documents, wherein the candidate text portions correspond to user input to the one or more electronic documents;
- and
- generating a first target output for the first training input, wherein the first target output (a) identifies a suggested formatting type for each of the candidate text portions, wherein the suggested formatting type is different from an original formatting type of a respective candidate text portion, and (b) identifies an indication whether the suggested formatting type was accepted by a respective user;
- and
- providing the training data to train the machine learning model on (i) a set of training inputs comprising the first training input, and (ii) a set of target outputs comprising the first target output.
A method, comprising:
- receiving an indication of user input of a candidate text portion into an electronic document;
- subsequent to receiving the indication of user input of the candidate text portion into the electronic document, identifying metadata associated with a word of a stored text record that corresponds to a word of the candidate text portion, wherein the word of the candidate text portion is a candidate for applying a formatting suggestion that suggests a change to a format of at least part of the candidate text portion of the electronic document;
- annotating the candidate text portion with at least part of the metadata;
- providing, to a trained machine learning model, first input comprising the annotated candidate text portion that includes the candidate text portion annotated with the at least part of the metadata;
- and
- obtaining, from the trained machine learning model, one or more outputs identifying (i) a format identifier indicative of a suggested formatting type, and (ii) a level of confidence that the suggested formatting type is appropriate for the candidate text portion.
A system, comprising:
- a memory;
- and
- a processing device, coupled to the memory, to perform operations comprising:
- generating training data for a machine learning model, wherein generating the training data comprises:
- generating first training input comprising candidate text portions of one or more electronic documents, wherein the candidate text portions correspond to user input to the one or more electronic documents;
- and
- generating a first target output for the first training input, wherein the first target output (a) identifies a suggested formatting type for each of the candidate text portions, wherein the suggested formatting type is different from an original formatting type of a respective candidate text portion, and (b) identifies an indication whether the suggested formatting type was accepted by a respective user;
- and
- providing the training data to train the machine learning model on (i) a set of training inputs comprising the first training input, and (ii) a set of target outputs comprising the first target output.
A system, comprising:
- a memory;
- and
- a processing device, coupled to the memory, to perform operations comprising:
- receiving an indication of user input of a candidate text portion into an electronic document;
- subsequent to receiving the indication of user input of the candidate text portion into the electronic document, identifying metadata associated with a word of a stored text record that corresponds to a word of the candidate text portion, wherein the word of the candidate text portion is a candidate for applying a formatting suggestion that suggests a change to a format of at least part of the candidate text portion of the electronic document;
- annotating the candidate text portion with at least part of the metadata;
- providing, to a trained machine learning model, first input comprising the annotated candidate text portion that includes the candidate text portion annotated with the at least part of the metadata;
- and
- obtaining, from the trained machine learning model, one or more outputs identifying (i) a format identifier indicative of a suggested formatting type, and (ii) a level of confidence that the suggested formatting type is appropriate for the candidate text portion.
Dependencies are inferred from the claim text.