Index: android/brkitr.patch |
diff --git a/android/brkitr.patch b/android/brkitr.patch |
index bc2881bdc34ee026bcb8a8c46dde5b865edbf6ae..9e78fe4712e86e55d9cb413333bd98eff55e624b 100644 |
--- a/android/brkitr.patch |
+++ b/android/brkitr.patch |
@@ -1,8 +1,54 @@ |
+diff --git a/source/data/brkitr/brklocal.mk b/source/data/brkitr/brklocal.mk |
+index cb5226a..39202f1 100644 |
+--- a/source/data/brkitr/brklocal.mk |
++++ b/source/data/brkitr/brklocal.mk |
+@@ -34,14 +34,14 @@ BRK_RES_ALIAS_SOURCE = $(BRK_RES_SYNTHETIC_ALIAS) |
+ |
+ |
+ # List of dictionary files (dict). |
+-BRK_DICT_SOURCE = burmesedict.txt cjdict.txt khmerdict.txt laodict.txt\ |
++BRK_DICT_SOURCE = burmesedict.txt khmerdict.txt laodict.txt\ |
+ thaidict.txt |
+ |
+ |
+ # List of break iterator files (brk). |
+ BRK_SOURCE = char.txt line.txt line_fi.txt\ |
+ line_normal.txt line_normal_cj.txt\ |
+- sent.txt sent_el.txt title.txt word.txt |
++ sent.txt sent_el.txt title.txt word.txt word_ja.txt |
+ |
+ |
+ # Ordinary resources |
+diff --git a/source/data/brkitr/ja.txt b/source/data/brkitr/ja.txt |
+index f9f986e..cd07526 100644 |
+--- a/source/data/brkitr/ja.txt |
++++ b/source/data/brkitr/ja.txt |
+@@ -13,5 +13,6 @@ ja{ |
+ line_loose:process(dependency){"line_normal_cj.brk"} |
+ line_normal:process(dependency){"line_normal_cj.brk"} |
+ line_strict:process(dependency){"line.brk"} |
++ word:process(dependency){"word_ja.brk"} |
+ } |
+ } |
+diff --git a/source/data/brkitr/root.txt b/source/data/brkitr/root.txt |
+index 77ddd14..2e275a1 100644 |
+--- a/source/data/brkitr/root.txt |
++++ b/source/data/brkitr/root.txt |
+@@ -19,9 +19,6 @@ root{ |
+ word:process(dependency){"word.brk"} |
+ } |
+ dictionaries{ |
+- Hani:process(dependency){"cjdict.dict"} |
+- Hira:process(dependency){"cjdict.dict"} |
+- Kana:process(dependency){"cjdict.dict"} |
+ Khmr:process(dependency){"khmerdict.dict"} |
+ Laoo:process(dependency){"laodict.dict"} |
+ Mymr:process(dependency){"burmesedict.dict"} |
diff --git a/source/data/brkitr/word.txt b/source/data/brkitr/word.txt |
-index c74da4c..c5d6df7 100644 |
+index f89a2fe..9603957 100644 |
--- a/source/data/brkitr/word.txt |
+++ b/source/data/brkitr/word.txt |
-@@ -60,11 +60,9 @@ $Control = [\p{Grapheme_Cluster_Break = Control}]; |
+@@ -54,11 +54,9 @@ $Control = [\p{Grapheme_Cluster_Break = Control}]; |
$HangulSyllable = [\uac00-\ud7a3]; |
$ComplexContext = [:LineBreak = Complex_Context:]; |
$KanaKanji = [$Han $Hiragana $Katakana]; |
@@ -16,7 +62,7 @@ index c74da4c..c5d6df7 100644 |
# |
-@@ -166,11 +164,6 @@ $ExtendNumLetEx $KatakanaEx {400}; # (13b) |
+@@ -160,11 +158,6 @@ $ExtendNumLetEx $KatakanaEx {400}; # (13b) |
$Regional_IndicatorEx $Regional_IndicatorEx; |
@@ -28,7 +74,7 @@ index c74da4c..c5d6df7 100644 |
## ------------------------------------------------- |
!!reverse; |
-@@ -237,10 +230,6 @@ $BackExtendNumLetEx ($BackALetterEx | $BackHebrew_LetterEx | $BackNumericEx | $B |
+@@ -231,10 +224,6 @@ $BackExtendNumLetEx ($BackALetterEx | $BackHebrew_LetterEx | $BackNumericEx | $B |
$BackRegional_IndicatorEx $BackRegional_IndicatorEx; |
@@ -39,54 +85,3 @@ index c74da4c..c5d6df7 100644 |
## ------------------------------------------------- |
!!safe_reverse; |
-diff --git a/source/data/brkitr/brklocal.mk b/source/data/brkitr/brklocal.mk |
-index c41c85a..5e0641b 100644 |
---- a/source/data/brkitr/brklocal.mk |
-+++ b/source/data/brkitr/brklocal.mk |
-@@ -34,17 +34,17 @@ BRK_RES_ALIAS_SOURCE = $(BRK_RES_SYNTHETIC_ALIAS) |
- |
- |
- # List of dictionary files (dict). |
--BRK_DICT_SOURCE = burmesedict.txt cjdict.txt khmerdict.txt laodict.txt\ |
-+BRK_DICT_SOURCE = burmesedict.txt khmerdict.txt laodict.txt\ |
- thaidict.txt |
- |
- |
- # List of break iterator files (brk). |
- BRK_SOURCE = char.txt line.txt line_fi.txt\ |
-- sent.txt sent_el.txt title.txt word.txt |
-+ sent.txt sent_el.txt title.txt word.txt word_ja.txt |
- |
- |
- # Ordinary resources |
- BRK_RES_SOURCE = de.txt el.txt en.txt en_US.txt\ |
- es.txt fi.txt fr.txt it.txt\ |
-- pt.txt ru.txt |
-+ pt.txt ru.txt ja.txt |
- |
-diff --git a/source/data/brkitr/root.txt b/source/data/brkitr/root.txt |
-index 2dd1fdc..1d066be 100644 |
---- a/source/data/brkitr/root.txt |
-+++ b/source/data/brkitr/root.txt |
-@@ -16,9 +16,6 @@ root{ |
- word:process(dependency){"word.brk"} |
- } |
- dictionaries{ |
-- Hani:process(dependency){"cjdict.dict"} |
-- Hira:process(dependency){"cjdict.dict"} |
-- Kata:process(dependency){"cjdict.dict"} |
- Khmr:process(dependency){"khmerdict.dict"} |
- Laoo:process(dependency){"laodict.dict"} |
- Mymr:process(dependency){"burmesedict.dict"} |
-diff --git a/source/data/brkitr/ja.txt b/source/data/brkitr/ja.txt |
-index 3eb81d0..ffdbc6d 100644 |
---- a/source/data/brkitr/ja.txt |
-+++ b/source/data/brkitr/ja.txt |
-@@ -9,6 +9,6 @@ |
- ja{ |
- Version{"2.0.82.42"} |
- boundaries{ |
-- line:process(dependency){"line_ja.brk"} |
-+ word:process(dependency){"word_ja.brk"} |
- } |
- } |