| CPC G06F 40/284 (2020.01) [G06F 16/35 (2019.01); G06F 40/205 (2020.01); G06F 40/30 (2020.01); G06N 3/04 (2013.01)] | 17 Claims |

|
1. A computer-implemented method comprising:
receiving a string of text from a user;
determining one or more classifications for at least one word in the string of text by a classification model;
determining a plurality of perturbations of the at least one word in the string of text such that the plurality of perturbations do not share a same classification with the one or more classifications of the at least one word in the string of text;
selecting, from the plurality of perturbations, a perturbation of the string of text that includes a respective perturbed classification that is different from the one or more classifications of the at least one word in the string of text based on (i) an edit distance between the string of text and the plurality of perturbations, and (ii) a fluency metric for each of the plurality of perturbations; and
providing, to the user, the perturbation of the string of text that includes the respective perturbed classification that is different from the one or more classifications of the at least one word in the string of text, wherein the providing identifies one or more attribute changes between the string of text and the perturbation of the string of text corresponding to the respective perturbed classification.
|
|
13. A computer system comprising:
one or more computer processors;
one or more computer readable storage media; and
program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
program instructions to receive a string of text from a user;
program instructions to determine one or more classifications for at least one word in the string of text by a classification model;
program instructions to determine a plurality of perturbations of the at least one word in the string of text such that the plurality of perturbations do not share a same classification with the one or more classifications of the at least one word in the string of text;
program instructions to select, from the plurality of perturbations, a perturbation of the string of text that includes a respective perturbed classification that is different from the one or more classifications of the at least one word in the string of text based on (i) an edit distance between the string of text and the plurality of perturbations, and (ii) a fluency metric for each of the plurality of perturbations; and
program instructions to provide, to the user, the perturbation of the string of text that includes the respective perturbed classification that is different from the one or more classifications of the at least one word in the string of text, wherein the program instructions to provide identifies one or more attribute changes between the string of text and the perturbation of the string of text corresponding to the respective perturbed classification.
|