METHOD AND SYSTEM FOR SUGGESTING REVISIONS TO AN ELECTRONIC DOCUMENT
Disclosed is a method for suggesting revisions to a document-under-analysis (“DUA”) from a seed database, the seed database including a plurality of original texts each respectively associated with one of a plurality of final texts. The method includes tokenizing the DUA into a plurality of statements-under-analysis (“SU As”), selecting a first SUA of the plurality of SU As, generating a first similarity score for each of the plurality of the original texts, the similarity score representing a degree of similarity between the first SUA and each of the original texts, selecting a first candidate original text of the plurality of the original texts, and creating an edited SUA (“ESUA”) by modifying a copy of the first SUA consistent with a first candidate final text associated with the first candidate original text.
1 . A computer-implemented method for suggesting revisions to text data, the method comprising:
obtaining an electronic document under analysis (DUA);
tokenizing the DUA into one or more statements under analysis (SUAs);
obtaining a plurality of candidate original texts from a seed database;
generating a similarity score for each candidate original text of the plurality of candidate original texts, the similarity score representing a degree of similarity between the one or more SUAs and each of the candidate original texts;
selecting a subset of candidate original texts from the plurality of candidate original texts based on the generated similarity score for each of the plurality of candidate original texts;
selecting a first candidate original text from the subset of candidate original texts; and
determining, using a natural language processing (NLP) alignment of the first SUA and the first candidate original text, an edit operation to apply to the DUA.