donnerpeter commented on code in PR #12468: URL: https://github.com/apache/lucene/pull/12468#discussion_r1277778738
########## lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/TestAllDictionaries.java: ########## @@ -74,7 +74,12 @@ static Dictionary loadDictionary(Path aff) throws IOException, ParseException { try (InputStream dictionary = Files.newInputStream(dic); InputStream affix = Files.newInputStream(aff); BaseDirectoryWrapper tempDir = newDirectory()) { - return new Dictionary(tempDir, "dictionary", affix, dictionary); + return new Dictionary(tempDir, "dictionary", affix, dictionary) { + @Override + protected boolean tolerateAffixRuleCountMismatches() { + return true; Review Comment: Some checked dictionaries contain rule count mismatches :( -- 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