costin commented on code in PR #16371:
URL: https://github.com/apache/lucene/pull/16371#discussion_r3676013306
##########
gradle/regenerate/icu/GenerateSimpleCaseFolding.groovy:
##########
@@ -0,0 +1,84 @@
+import com.ibm.icu.lang.UCharacter
+import com.ibm.icu.lang.UScript
+import com.ibm.icu.util.VersionInfo
+import java.nio.file.Paths
+import java.util.Locale
+
+def icuVersion = VersionInfo.ICU_VERSION.toString()
+def unicodeVersion = UCharacter.getUnicodeVersion().toString()
+
+def outputFile = Paths.get(args[0])
+
+def generateSwitchCases() {
+ StringBuilder sb = new StringBuilder()
+ int lastScript = -1
+ int count = 0
+
+ for (int c = 0; c < 0x10000; c++) {
Review Comment:
Done. Recreated the file and found a few more cases.
--
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]