Method and system for tree-based text representation and comparison
Abstract
A method for facilitating electronic textual representation and comparison is disclosed. The method includes receiving, via a graphical user interface, a comparison request that includes a first electronic document and a second electronic document; parsing the first electronic document and the second electronic document to classify textual data; generating, by using the classified textual data, a first tree structure for the first electronic document and a second tree structure for the second electronic document; constructing a first hierarchy dictionary for the first tree structure and a second hierarchy dictionary for the second tree structure; determining differences between the first electronic document and the second electronic document by using the first tree structure, the first hierarchy dictionary, the second tree structure, and the second hierarchy dictionary; and generating graphical representations that depicts the differences and textual representations that summarize the differences.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A method for facilitating electronic textual representation and comparison, the method being implemented by at least one processor, the method comprising: receiving, by the at least one processor via a graphical user interface, at least one comparison request, each of the at least one comparison request including a first electronic document and a second electronic document, wherein the first electronic document and the second electronic document are digital computer files, and wherein the receiving is initiated by a command obtained by an interaction with at least one from among a graphical icon and an audio indicator of the graphical user interface; parsing, by the at least one processor, the first electronic document and the second electronic document to classify textual data, wherein the classifying of textual data includes: extracting, by the at least one processor, the textual data and at least one corresponding textual characteristic from the first electronic document and from th
- Claim 2Depends on #1
The method of claim 1, wherein the at least one comparison request includes instructions to compare the first electronic document with the second electronic document, the first electronic document and the second electronic document including data in a natural language format.
- Claim 3Depends on #1
The method of claim 1, wherein the first tree structure relates to a first structural hierarchy that represents the first electronic document, the first structural hierarchy including a plurality of first linguistic components; and wherein the second tree structure relates to a second structural hierarchy that represents the second electronic document, the second structural hierarchy including a plurality of second linguistic components.
- Claim 4Depends on #1
The method of claim 1, wherein the at least one difference includes a type of change that corresponds to at least one from among a document structure and a document text, the type of change including at least one from among a modification change, an addition change, a removal change, an addition with all descendants change, a removal with all descendants change, an order swap change, a parent change, and a modify and reorder change.
- Claim 5Depends on #1
The method of claim 1, wherein generating the first tree structure and the second tree structure further comprises: initializing, by the at least one processor, at least one tree node based on a quantity of the at least one text block, wherein the at least one tree node includes the at least one first child node and the at least one second child node; linking, by the at least one processor, each of the at least one tree node to each of the at least one text block; and categorizing, by the at least one processor, each of the at least one tree node based on a predetermined guideline and the corresponding respective integer, the predetermined guideline relating to a parent and child classification.
- Claim 6Depends on #5
The method of claim 5, wherein constructing the first hierarchy dictionary and the second hierarchy dictionary further comprises: assigning, by the at least one processor, a header type to a corresponding attribute from the respective attributes that is linked to at least one uncategorized node; building, by the at least one processor, the text dictionary, wherein the text dictionary includes merging rules for a plurality of different header types, the text dictionary relating to the first hierarchy dictionary and the second hierarchy dictionary; and iteratively cataloging, by the at least one processor using the header type, each of the at least one uncategorized node based on the text dictionary.
- Claim 7Depends on #6
The method of claim 6, further comprising: identifying, by the at least one processor using the breadth first search algorithm, at least one partially matching pair of nodes from the first tree structure and the second tree structure based on the similarity score and the predetermined threshold; tagging, by the at least one processor, the at least one partially matching pair; and appending, by the at least one processor, the at least one partially matching pair together with the tag in the corresponding respective queue.
- Claim 8Independent Claim
A computing device configured to implement an execution of a method for facilitating electronic textual representation and comparison, the computing device comprising: a processor; a memory; and a communication interface coupled to each of the processor and the memory, wherein the processor is configured to: receive, via a graphical user interface, at least one comparison request, each of the at least one comparison request including a first electronic document and a second electronic document, wherein the first electronic document and the second electronic document are digital computer files, and wherein the receiving is initiated by a command obtained by an interaction with at least one from among a graphical icon and an audio indicator of the graphical user interface; parse the first electronic document and the second electronic document to classify textual data, wherein the classifying of textual data includes: extracting the textual data and at least one corresponding textual char
Technical Overview & Description
BACKGROUND 1. Field of the Disclosure This technology generally relates to methods and systems for text representation, and more particularly to methods and systems for facilitating contextual and structural comparisons of electronic texts via tree-based processing to capture differences and provide structured representations. 2. Background Information Many business entities rely on information such as, for example, constraint information that is provided electronically via documents such as, for example, prospectus documents to facilitate business operations and provide services for users. Often, these expansive electronic documents are regularly updated with new information that must be quickly identified, extracted, and contextualized. Historically, implementations of conventional text representation and comparison techniques have resulted in varying degrees of success with respect to effectiveness and efficiency. One drawback of using the conventional text representation and comparison techniques is that in many instances, natural language data in the electronic documents are not represented contextually by computing components. As a result, structural changes to the electronic documents as well as modification actions such as, for example, text addition actions and text removal actions at sectional levels are not adequately captured. Additionally, by merely comparing natural language data in a one-to-one manner, the conventional text representation and comparison techniques are not able to granularly summarize changes to the electronic documents. Therefore, there is a need to provide contextual and structural comparisons of electronic texts via tree-based processing to capture differences and provide structured representations. SUMMARY The present disclosure, through one or more of its various aspects, embodiments, and/or specific features or sub-components, provides, inter alia, various systems, servers, devices, methods, media, programs, and platforms for fac
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
| Patent | Title | Year | Citations |
|---|