]> granicus.if.org Git - icu/commitdiff
ICU-11996 CJKBreakEngine divideUpDictionaryRange, pick up test case from ICU4J.
authorAndy Heninger <andy.heninger@gmail.com>
Fri, 29 Apr 2016 23:51:24 +0000 (23:51 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Fri, 29 Apr 2016 23:51:24 +0000 (23:51 +0000)
X-SVN-Rev: 38678

icu4c/source/common/dictbe.cpp
icu4c/source/test/testdata/rbbitst.txt

index 9395ca78a0d018efd95faee27cc1a70ab9ee6ae3..eb6c886da2c481d06a72559a1923fb15b5b42da1 100644 (file)
@@ -1306,7 +1306,7 @@ CjkBreakEngine::divideUpDictionaryRange( UText *inText,
                              //       The NULL parameter is the ignored code unit lengths.
 
         // if there are no single character matches found in the dictionary 
-        // starting with this charcter, treat character as a 1-character word 
+        // starting with this character, treat character as a 1-character word 
         // with the highest value possible, i.e. the least likely to occur.
         // Exclude Korean characters from this treatment, as they should be left
         // together by default.
index ffbc473133425e79f92b4c0d4c106b9fd6b6db5b..a09297362a079a57c6c00c0da440046b5a54f06e 100644 (file)
 <word>
 <data>•ジョージア<400> •</data>
 
+# Ticket #11996
+<locale en>
+<word>
+<data>•栃木<400>県<400>足利<400>市<400>で<400>の<400>撮影<400>が<400>公開<400></data>
+<data>•栃木<400>県<400>足利<400>市<400>で<400>の<400>撮影<400>が<400>公開<400>さ<400>れ<400>た<400></data>
+
 # Ticket #11999
 #   Unhandled Break Engine was consuming all characters, not just unhandled.
 #   \U00011700 is AHOM LETTER KA. There is no dictionary for AHOM, triggering the unhandled engine,