SYSTEMS AND METHODS FOR CONTEXTUAL HIGHLIGHTING OF A DOCUMENT
Systems and methods for contextual highlighting and redaction of documents are provided. Upon receiving highlighting data corresponding to a document, a client device may evaluate the highlighting data to generate a highlighting model, which may be stored in a cache of the client device. In response to an event, the highlighting model may be retrieved from the cache, and analyzed to determine a highlighting portion of a document model. A rendering of the document model including highlighting in the highlighted portion of the document model may then be displayed.
1 . A computer-implemented method for performing contextual highlighting of a document at a client computing device, comprising:
receiving, via an electronic network, a response including highlighting data: (i) including a search term generated by a machine learning algorithm and (ii) corresponding to the document;
in response to receiving the response, evaluating the highlighting data including the search term generated by the machine learning algorithm to generate a highlighting model corresponding to the document by indicating one or more words to be displayed as highlighted;
storing, in a local memory cache, the highlighting model and a document model corresponding to the document;
retrieving, in response to an event caused by a user of the client computing device selecting the document, the highlighting model and the document model from the local memory cache including retrieving the document model;
analyzing the document model using the highlighting model to determine a highlighting portion of the document model; and
displaying, in a viewport of a graphical user interface of the client computing device, a rendering of the document model including highlighting on the highlighting portion.
2 . The computer-implemented method of claim 1 , wherein displaying the rendering of the document model further includes displaying metadata of the document.
3 . The computer-implemented method of claim 1 , wherein displaying the rendering of the document model includes applying the highlighting only to a visible portion of the highlighting portion.
4 . The computer-implemented method of claim 1 , further comprising:
receiving a selection of a color; and
wherein highlighting in the highlighted portion of the document model is made in the selected color.
5 . The computer-implemented method of claim 1 , wherein displaying the rendering of the document model includes highlighting the highlighted portion in a black color to thereby redact the highlighted portion.
6 . The computer-implemented method of claim 1 , wherein the analyzing the document model using the highlighting model to determine the highlighting portion of the document model includes determining the highlighting portion to include a synonym of the search term.
7 . The computer-implemented method of claim 1 , wherein the analyzing the document model using the highlighting model to determine the highlighting portion of the document model includes determining the highlighting portion to include a translation of the search term into a different language.
8 . The computer-implemented method of claim 1 , wherein the machine learning algorithm comprises gradient boosting.
9 . The computer-implemented method of claim 1 , wherein the machine learning algorithm comprises support vector machines.
10 . A client computing device for performing contextual highlighting of a document, the client computing device comprising one or more processors, the one or more processors configured to:
receive, via an electronic network, a response including highlighting data: (i) including a search term generated by a machine learning algorithm and (ii) corresponding to the document;
in response to receiving the response, evaluate the highlighting data including the search term generated by the machine learning algorithm to generate a highlighting model corresponding to the document by indicating one or more words to be displayed as highlighted;
store, in a local memory cache, the highlighting model and a document model corresponding to the document;
retrieve, in response to an event caused by a user of the client computing device selecting the document, the highlighting model and the document model from the local memory cache including retrieving the document model;
analyze the document model using the highlighting model to determine a highlighting portion of the document model; and
display, in a viewport of a graphical user interface of the client computing device, a rendering of the document model including highlighting on the highlighting portion.
11 . The client computing device of claim 10 , wherein the display of the rendering of the document model further includes displaying metadata of the document.
12 . The client computing device of claim 10 , wherein the display of the rendering of the document model includes applying the highlighting only to a visible portion of the highlighting portion.
13 . The client computing device of claim 10 , wherein the one or more processors are further configured to:
receive a selection of a color; and
highlight the highlighted portion of the document model in the selected color.
14 . The client computing device of claim 10 , wherein the display of the rendering of the document model includes highlighting the highlighted portion in a black color to thereby redact the highlighted portion.
15 . The client computing device of claim 10 , wherein the analysis of the document model using the highlighting model to determine the highlighting portion of the document model includes determining the highlighting portion to include a synonym of the search term.
16 . The client computing device of claim 10 , wherein the analysis of the document model using the highlighting model to determine the highlighting portion of the document model includes determining the highlighting portion to include a translation of the search term into a different language.
17 . A computer-implemented method for performing contextual redaction of a document at a client computing device, comprising:
receiving, via an electronic network, a response including redaction data: (i) including a search term generated by a machine learning algorithm and (ii) corresponding to the document;
in response to receiving the response, evaluating the redaction data including the search term generated by the machine learning algorithm to generate a redaction model corresponding to the document by indicating one or more words to be displayed as highlighted;
storing, in a local memory cache, the redaction model and a document model corresponding to the document;
retrieving, in response to an event caused by a user of the client computing device selecting the document, the redaction model and the document model from the local memory cache including retrieving the document model;
analyzing the document model using the redaction model to determine a redaction portion of the document model; and
displaying, in a viewport of a graphical user interface of the client computing device, the entire determined redaction portion of the document model in a solid color.
18 . The computer-implemented method of claim 17 , further comprising:
receiving a selection of a color; and
setting the solid color to be the selected color.
19 . The computer-implemented method of claim 17 , wherein the machine learning algorithm comprises gradient boosting.
20 . The computer-implemented method of claim 17 , wherein the machine learning algorithm comprises support vector machines.