15. A method, comprising: receiving, by a device, a source document to be processed for contextual information relating to the source document; providing, by the device and for display on a representation of the source document on a user interface, a first input mechanism for a user; identifying, by the device and based on a first user interaction with the first input mechanism, a first named entity included in the source document; determining, by the device and based on a second user interaction with the first input mechanism, a context associated with the source document by using context terms, of the source document, that are different than the first named entity; providing, by the device, the first named entity as a search query; receiving, by the device, 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; identifying, by the device, a second named entity included in the source document; identifying, by the device, a second reference document associated with the second named entity; analyzing, by the device, the first reference document and the second reference document; classifying, by the device, the first named entity as a primary entity based on analyzing the first reference document and the second reference document; classifying, by the device, the second named entity as a secondary entity based on analyzing the first reference document and the second reference document; performing, by the device, a semantic similarity analysis based on the context associated with the source document and based on classifying the first named entity as the primary entity and the second named entity as the secondary entity; and identifying, by the device, contextual information, associated with the source document, based on performing the semantic similarity analysis and based on a third user interaction with a 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 associated with the source document.
19. The method of claim 15 , where the method further comprises: providing contextual information associated with a relationship between the first named entity and the second named entity.