Position-aware merging still routed trimming through AppendWithOverlap, which searches for the longest suffix match inside a window. On periodic text (table rows, log lines) that search mistakes the repetition for the overlap and drops real content, and with a zero overlap there is nothing to search for in the first place. When coordinates are trusted the overlap is already known, so verify it character for character and cut exactly, falling back to the text matcher only when the bodies disagree inside the overlap. |
||
|---|---|---|
| .. | ||
| chunkmerge.go | ||
| chunkmerge_test.go | ||
| conversion.go | ||
| imageinfo.go | ||
| imageinfo_html_test.go | ||
| imageinfo_match.go | ||
| imageinfo_match_test.go | ||
| normalize.go | ||
| textutil.go | ||