06-09-2018, 10:08 AM | #1 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Pinyin implementation
I just noticed that when enabled in the language learning options:
Books in chinese language (such as the Kindle User's Guide Chinese Edition in these screenshots) will (unsurprisingly) display pinyin above chinese characters: And have an active pinyin level menu: The feature doesn't seem to be implemented in a way similar to wordwise. I couldn't find an equivalent of the mnt_us/system/kll/kll.en.en.klld wordwise data base with accompanying mnt_us/bookASIN.sdr/LanguageLayer.en.ASIN.kll in the sdr directory for the book. By curiosity, has anybody researched how/where pinyin is implemented? |
06-09-2018, 11:20 AM | #2 |
Member
Posts: 22
Karma: 10000
Join Date: Mar 2018
Location: HK
Device: KOA2
|
I recursively grepped some files and get some info.
Here is the file found on my KOA2:
Code:
[/var/local/java/prefs] cat language_layer.preferences #User preferences for LanguageLayer Preferences #Mon Jun 04 09:40:17 GMT+08:00 2018 pinyin.ftuxShown=true pinyin.difficulty=1 pinyin.sliderFtuxShown=true targetLang=zh dictTimestampcn-kll.zh.pn=1521941647210 pinyin.isVisible=false dictTimestampcn-kll.en.zh=1528076417459 dictTimestampcn-kll.en.en=1524226765524 dictVersioncn-kll.zh.pn=3.0 dictVersioncn-kll.en.zh=2.0 isEnabled=true dictVersioncn-kll.en.en=3.0 pinyin.isEnabled=true I'm still looking for other implementation. |
Advert | |
|
06-09-2018, 01:39 PM | #3 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
That was helpful, thank you @PromethiumL.
I have inspected the sql dababase located in mnt_us/system/kll/CC-CEDICT.kll.zh.pn.klld It has 2 tables: metadata table: pinyin definition language chinesedict table: pinyin translations along with their difficulty level My guess is that when the option is selected, the framework upon rendering a zh book, searches the sql database to display the pinyin of all the terms it encounters. The CC-CEDICT.kll.zh.pn.klld was probably automatically downloaded from amazon when I opened a chinese book. It was not present in the kindle when I purchased it. [EDIT] To verify, I deleted CC-CEDICT.kll.zh.pn.klld and re-opened the zh User Guide, the pinyin klld automagically downloaded. As a bonus, it is now at version 4. In the end, the process is somewhat similar to wordwise, just with a different and simpler database. Last edited by PoP; 06-11-2018 at 02:41 PM. Reason: vfy automatic download |
09-15-2018, 03:02 AM | #4 |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2018
Device: Kindle Paperwhite 5th gen
|
The "Language Learning" section on my Kindle doesn't have a Pinyin option, only Word Wise and Vocabulary Builder. My Kindle Paperwhite 1st gen is updated to 5.6.1.1. Synced again just to be sure it's on the latest version. "Update your kindle" is greyed out.
Any ideas why it wouldn't be there? Is this an option only available on 2nd gen Paperwhites or later (though I don't see why any Kindle couldn't do it). |
09-15-2018, 09:22 PM | #5 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Have you opened a book in the zh language? On my PW3 v5.8.11 *that* caused the pinyin file to be downloaded.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Format a Chinese eBook with pinyin | verydeepwater | ePub | 4 | 01-02-2015 03:55 AM |
Search chinese font with pinyin and french accents | fxp33 | General Discussions | 6 | 09-29-2013 05:37 AM |
Philosophy Anonymous- Zhou yi 周易 chinese pinyin english. Version 1. May 2013 | fxp33 | ePub Books | 0 | 05-09-2013 07:39 PM |
Dropbox implementation? | briefer666 | Kindle Developer's Corner | 7 | 06-07-2012 03:17 AM |
Trying to Find: PINYIN Bible | cancelx | General Discussions | 16 | 03-26-2010 08:55 AM |