1. A device, comprising: one or more processors to: receive a source document to be processed for contextual information associated with one or more named entities included in the source document; provide, for display on a representation of the source document on a user interface, a first input mechanism for a user; identify, based on a first user interaction with the first input mechanism, a first named entity, of the one or more named entities, included in the source document; identify, based on a second user interaction with the first input mechanism, a context of the source document by using context terms, of the source document, that are different than the first named entity; provide the first named entity as a search query; identify a first reference document based on providing the first named entity as the search query, the first reference document being associated with a result of the search query, and the first reference document being different from the source document; identify a second named entity, of the one or more named entities, included in the source document; identify a second reference document associated with the second named entity; analyze the first reference document and the second reference document; classify the first named entity as a primary entity based on analyzing the first reference document and the second reference document; classify the second named entity as a secondary entity based on analyzing the first reference document and the second reference document; perform a semantic similarity analysis based on the context of the source document and based on classifying the first named entity as the primary entity and the second named entity as the secondary entity; provide, for display on the user interface, a second input mechanism for the user to cause contextual information to be provided; and identify contextual information, associated with the source document, based on performing the semantic similarity analysis and based on a third user interaction with the second input mechanism, the contextual information including one or more reference text sections having a threshold semantic similarity score with respect to the secondary entity and the context of the source document.