krickert opened a new pull request, #1109: URL: https://github.com/apache/opennlp/pull/1109
Part **1b** of the OPENNLP-1850 stack: the offset/alignment layer, split out of the former foundation PR (#1103) on review request so the conceptually hard part gets a focused read on its own. Builds on the engine in #1108. Adds: - `Alignment` (bidirectional edit-sequence, `andThen`-composable) and `AlignedText` - the `OffsetAwareNormalizer` capability interface and `TextNormalizer.buildAligned()` - the `*Aligned` `CharClass` variants, the offset-aware rungs, and the line-break-preserving rung - the dense span-mapping tests: binary-search span mapping, expansion/deletion edge cases, and `andThen` composition including the insertion-inside-an-expansion case Base: `OPENNLP-1850-1a-engine` (#1108). Stack: 1a → **1b (this)** → tokenizer → DL → docs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
