dweiss commented on code in PR #975:
URL: https://github.com/apache/lucene/pull/975#discussion_r906646027
##########
lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/WordFormGenerator.java:
##########
@@ -245,6 +240,31 @@ private LinkedHashSet<Character> appendFlags(AffixEntry
affix) {
return appendId <= 0 ? new LinkedHashSet<>() :
toSet(dictionary.flagLookup.getFlags(appendId));
}
+ /**
+ * Given a list of words, try to produce a smaller set of dictionary entries
(with some flags)
Review Comment:
If it's NP-complete and you solve it, let me know. We'll have a bunch of
other problems covered then. ;)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]