uschindler commented on code in PR #12437: URL: https://github.com/apache/lucene/pull/12437#discussion_r1267903574
########## lucene/analysis/common/src/test/org/apache/lucene/analysis/compound/TestHyphenationCompoundWordTokenFilterFactory.java: ########## @@ -47,6 +47,33 @@ public void testHyphenationWithDictionary() throws Exception { new int[] {1, 1, 1, 1, 1, 1, 1, 1, 0, 0}); } + /** + * just tests that the two no configuration options are correctly processed tests for the + * functionality are part of {@link TestCompoundWordTokenFilter} + */ + public void testLucene8183() throws Exception { + Reader reader = new StringReader("basketballkurv"); + TokenStream stream = new MockTokenizer(MockTokenizer.WHITESPACE, false); + ((Tokenizer) stream).setReader(reader); + stream = + tokenFilterFactory( + "HyphenationCompoundWord", + "hyphenator", + "da_UTF8.xml", Review Comment: I see the comment: https://github.com/apache/lucene/issues/9231#issuecomment-1223859623 -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org