donnerpeter commented on a change in pull request #2253: URL: https://github.com/apache/lucene-solr/pull/2253#discussion_r566662702
########## File path: lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Dictionary.java ########## @@ -370,7 +370,7 @@ private void readAffixFile(InputStream affixStream, CharsetDecoder decoder) fullStrip = true; } else if ("LANG".equals(firstWord)) { language = singleArgument(reader, line); - alternateCasing = "tr_TR".equals(language) || "az_AZ".equals(language); Review comment: Good point. So it seems that some parsing is inevitable, and quick googling shows that JDK doesn't seem to have that parsing. So I'll split by '_' myself. ---------------------------------------------------------------- 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. 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