krickert commented on PR #1106: URL: https://github.com/apache/opennlp/pull/1106#issuecomment-4803090856
@rzo1 Both fixed (tip `121c2588`). **`xmlns:xlink` declaration.** Declared `xmlns:xlink="http://www.w3.org/1999/xlink"` on the `normalizer.xml` and `tokenizer.xml` chapter roots, matching the other xlink-using chapters — both use `<link xlink:href>` (the UTS #39 and UAX #29 references) and previously leaned on the DocBook DTD's `#FIXED` default, which non-validating namespace-aware tools don't honor. **Empty `ids2Labels` in the second snippet.** Populated it with the same BIO map as the first snippet (`O`, `B-PER`/`I-PER`, `B-ORG`/`I-ORG`, `B-LOC`/`I-LOC`, `B-MISC`/`I-MISC`), so the `findInOriginal` example is runnable and consistent with the "map must be exhaustive" warning. -- 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]
