flyingfishinwater commited on
Commit
b107ef0
Β·
verified Β·
1 Parent(s): 4504542

Update IME dictionary packs

Browse files
.gitattributes CHANGED
@@ -35,3 +35,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  ja/dict.sqlite filter=lfs diff=lfs merge=lfs -text
37
  zh/dict.sqlite filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  ja/dict.sqlite filter=lfs diff=lfs merge=lfs -text
37
  zh/dict.sqlite filter=lfs diff=lfs merge=lfs -text
38
+ de/dict.sqlite filter=lfs diff=lfs merge=lfs -text
39
+ en/dict.sqlite filter=lfs diff=lfs merge=lfs -text
40
+ es/dict.sqlite filter=lfs diff=lfs merge=lfs -text
41
+ fr/dict.sqlite filter=lfs diff=lfs merge=lfs -text
42
+ it/dict.sqlite filter=lfs diff=lfs merge=lfs -text
43
+ pt-BR/dict.sqlite filter=lfs diff=lfs merge=lfs -text
44
+ ru/dict.sqlite filter=lfs diff=lfs merge=lfs -text
LICENSES.md CHANGED
@@ -1,15 +1,30 @@
1
- # AI Keyboard IME Dictionary Packs β€” Sources & Licenses
2
 
3
- These SQLite packs are built by `helper/scripts/IME/` in the Privacy AI app repository and are
4
- downloaded on demand by the AI Keyboard extension. Each pack embeds provenance in its `meta` table.
 
5
 
6
- ## zh/dict.sqlite (Chinese Pinyin; drives both Simplified and Traditional)
7
- - jieba word list with frequencies β€” MIT β€” https://github.com/fxsjy/jieba
8
- - mozillazg pinyin-data (char readings) β€” MIT β€” https://github.com/mozillazg/pinyin-data
9
- - mozillazg phrase-pinyin-data (phrase readings) β€” MIT β€” https://github.com/mozillazg/phrase-pinyin-data
10
- - OpenCC STCharacters (Simplified -> Traditional) β€” Apache-2.0 β€” https://github.com/BYVoid/OpenCC
11
 
12
- ## ja/dict.sqlite (Japanese)
13
- - mozc dictionary_oss β€” BSD-3-Clause β€” https://github.com/google/mozc
 
 
14
 
15
- Korean input is algorithmic (no dictionary pack). GPL/copyleft and unlicensed sources are not used.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # IME Dictionary Pack Licenses
2
 
3
+ The AI Keyboard downloads these dictionary packs on demand. Every bundled source is permissively
4
+ licensed (proprietary-app compatible). GPL / copyleft sources (RIME luna-pinyin, SKK-JISYO,
5
+ CC-CEDICT, wordfreq, hermitdave FrequencyWords) are **rejected**; CC-BY (attribution) is allowed.
6
 
7
+ ## Chinese (zh)
 
 
 
 
8
 
9
+ - **jieba** `dict.txt` β€” MIT β€” https://github.com/fxsjy/jieba β€” word list with frequencies.
10
+ - **pinyin-data** `pinyin.txt` (mozillazg) β€” MIT β€” https://github.com/mozillazg/pinyin-data β€” char readings.
11
+ - **phrase-pinyin-data** `pinyin.txt` (mozillazg) β€” MIT β€” https://github.com/mozillazg/phrase-pinyin-data β€” phrase readings.
12
+ - **OpenCC** `STCharacters.txt` β€” Apache-2.0 β€” https://github.com/BYVoid/OpenCC β€” Simplified -> Traditional.
13
 
14
+ ## Japanese (ja)
15
+
16
+ - **mozc** `dictionary_oss/dictionary0X.txt` β€” BSD-3-Clause β€” https://github.com/google/mozc β€” reading -> word + cost.
17
+
18
+ ## Latin / Cyrillic word prediction (en, fr, de, it, es, pt-BR, ru)
19
+
20
+ - **Leipzig Corpora Collection** β€” CC-BY 4.0 β€” https://wortschatz.uni-leipzig.de/en/download β€”
21
+ per-language `-words.txt` (unigram frequency) and `-co_n.txt` (right-neighbor co-occurrence, the
22
+ next-word bigram source). Covers all seven languages.
23
+ Cite: Goldhahn, D., Eckart, T., & Quasthoff, U. (2012). *Building Large Monolingual Dictionaries
24
+ at the Leipzig Corpora Collection: From 100 to 200 Languages.* LREC 2012.
25
+ - **SUBTLEX** β€” ISC β€” cleaner conversational-corpus unigram frequencies used where available:
26
+ - SUBTLEX-US (English), SUBTLEX-DE (German), SUBTLEX-ESP (Spanish).
27
+ - https://www.ugent.be/pp/experimentele-psychologie/en/research/documents/subtlexus
28
+
29
+ Next-word bigrams for every language (including zh/ja) come from the Leipzig right-neighbor
30
+ co-occurrence data (CC-BY 4.0).
de/dict.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:306077b98fd885b798e1ea6cf04be2be0d954a0ef442b0b1717104cb51c8d60e
3
+ size 4190208
en/dict.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6983991110077f6ed0208edd932fa28ea3c58b0bc64dfa1cc6277458fac239e8
3
+ size 3710976
es/dict.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bbca13cc63657f25cd799ba5e08dea1f5c9e5058f53807a00f4e4783327816b
3
+ size 3493888
fr/dict.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fc8b2bd76243df54d52adb331cabe2781202f9cc9d3c6b882acdc57fda610d8
3
+ size 3457024
it/dict.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:579735807e16c53c3a5e8cd4e2978960da5ede5eb911b11ed277a944aa5d5b0c
3
+ size 3473408
pt-BR/dict.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a3ba8c4330ee2db14bd2e1070cecaa96f702e5ccf973b2df5c8f60a3c8695b5
3
+ size 3170304
ru/dict.sqlite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b72b93edf693e9ef7d98147f3f4efcdefde7920b3a1195ced6d85bcb764e856
3
+ size 5988352