-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: align chunk ref format with one used in Document (#37)
Signed-off-by: Panos Vagenas <[email protected]>
- Loading branch information
Showing
7 changed files
with
104 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
test/data/chunker/0_out_chunks_heading_in_meta_wout_extras.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"root": [ | ||
{ | ||
"path": "#/main-text/0", | ||
"text": "This paragraph is marginally long enough for getting accepted as a chunk." | ||
}, | ||
{ | ||
"path": "#/main-text/4", | ||
"text": "This one should also include the subtitle above since it is long enough.", | ||
"heading": "Some subtitle" | ||
}, | ||
{ | ||
"path": "#/tables/0", | ||
"text": "Atomic Vision, Business = Website design. Atomic Vision, Country = United States. Delix Computer GmbH, Business = Computers and software. Delix Computer GmbH, Country = Germany", | ||
"heading": "Acquisitions" | ||
}, | ||
{ | ||
"path": "#/main-text/8", | ||
"text": "This paragraph is right before the list.\nSome first bullet content here.\nAnd then some second bullet content here.", | ||
"heading": "Acquisitions" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
.../data/chunker/0_out_chunks_wout_meta.json → ...t_chunks_heading_in_text_wout_extras.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters