krickert commented on code in PR #1150:
URL: https://github.com/apache/opennlp/pull/1150#discussion_r3593745813
##########
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/tokenize/SimpleTokenizerTest.java:
##########
@@ -146,4 +158,40 @@ void testNonSpacingLetters() {
Assertions.assertEquals("بنجاح", tokenizedText[3]);
Assertions.assertEquals(".", tokenizedText[4]);
}
+
+ /**
+ * Under the default {@link WhitespaceMode#UNICODE}, the next line control
({@code U+0085})
+ * separates tokens like whitespace, and the information separators ({@code
U+001C..U+001F})
+ * do not.
+ */
+ @Test
+ void testNextLineControlIsWhitespaceByDefault() {
+ WhitespaceMode.reset();
Review Comment:
Covered. `20 GOTO 10`
--
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]