Patent ID: 11881041
Assignee: BANK OF AMERICA CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 16:
17. The apparatus of claim 15, wherein the hardware processor is further configured to:
receive a second image of a page of a second physical document;
convert, by executing the OCR algorithm, the second image into a second set of text comprising characters and whitespaces;
identify a second plurality of tokens within the second set of text, each token of the second plurality of tokens comprising one or more contiguous characters, wherein the one or more contiguous characters are preceded by whitespace and followed by whitespace within the second set of text;
for each token of the second plurality of tokens, remove any of the valid punctuation from the token;
identify a second set of invalid tokens from the second plurality of tokens, wherein identifying the second set of invalid tokens comprises removing each token of the second plurality of tokens that corresponds to a word of the dictionary of words;
calculate, based on a ratio of a total number of invalid tokens of the second set of invalid tokens to a total number of tokens of the second plurality of tokens, a score for the second set of text;
determine that the score for the second set of text is less than the threshold; and
in response to determining that the score for the second set of text is less than the threshold, determine not apply the first machine learning algorithm to the second set of text.