Patent ID: 11875114
Assignee: SERVICENOW CANADA INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 18:
19. A computer-implemented method for extracting information from a document, the computer-implemented method being executed by at least one processor operatively connected to a non-transitory storage medium, the computer-implemented method comprising:
receiving, from a user electronic device, an identification of an entity to be extracted from the document;
identifying candidates within the document, each candidate corresponding to a respective entity value for the entity contained in the document and having a respective location within the document;
embedding, using a word embedding model, each of the respective candidate entity value, thereby obtaining a respective embedding vector;
generating, for each of the respective candidate entity value, a respective location vector based on the respective location within the document;
retrieving, from the non-transitory storage medium, previous embedding vectors and previous location vectors associated with previous entity values previously chosen for the entity;
determining, for each of the respective candidate entity value, a respective distance in the semantic space between the respective embedding vector and an average of the previous embedding vectors, thereby obtaining a first comparison result;
multiplying, for each of the respective candidate entity value, the respective distance in the semantic space by a first weighting factor, thereby obtaining a first weighted value;
determining, for each of the respective candidate entity value, the respective distance in the pixel space between the respective location vector and an average value of the previous location vectors of the previous entity values, thereby obtaining a second comparison result;
multiplying, for each of the respective candidate entity value, the respective distance in the pixel space by a second weighting factor, thereby obtaining a second weighted value;
sorting the candidates using a respective sum of the first weighted value and the second weighted value obtained for each of the respective candidate entity value, thereby obtaining sorted candidates;
receiving, from a user electronic device, a user input comprising at least one character;
filtering, based on the user input comprising the at least one character, the sorted candidates to obtain filtered candidates; and
outputting, to the user electronic device, the filtered candidates.