Patent ID: 11886812
Assignee: GRAMMARLY, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. A method, comprising:
receiving, by a digital model, an input text sequence in a first language, wherein the digital model comprises a fluency-adjusted grammatical error correction model;
the digital model machine-learned to generate grammatically corrected and fluency-adjusted text sequences using a first data set that comprises a set of uncorrected text sequences and for an uncorrected text sequence, a corresponding corrected text sequence, from text sequences of a plurality of different topics and writing styles received from by native and non-native speakers of various native backgrounds, the set of uncorrected text sequences comprising at least one word produced by a person whose first native language is different from the first language;
fine-tuning the digital model using an in-domain data set to adjust values of model parameters associated with only a subset of the digital model after being machine-learned using the first data set, the in-domain data set comprising a set of text sequences and, for a text sequence, a set of corresponding features comprising a proficiency label and a native language label wherein at least one type of error is present in the first text sequence and the location of the error within the first text sequence for the in-domain training data, the subset comprising one or more of a number of epochs, batch size, learning rate, and start decay; and
outputting, by the digital model, an output text sequence in the first language, the output text sequence comprising the input text sequence modified by any one or more of: deleting text from the input text sequence, the modifying comprising grammatical correction and fluency adjustment of the first text sequence based on a particular native language and proficiency level; adding text to the input text sequence; modifying text of the input text sequence; reordering text of the input text sequence; adding a digital markup to the input text sequence.