dragonmapper
dragonmapper copied to clipboard
Identification and conversion functions for Chinese text processing
Fixes #25. See [this](https://en.wikipedia.org/wiki/Pinyin#Comparison_charts) for correct phonemes for *you* and *yong*
Seems to be a problem with all 'lüè'. Don't know if it's just my code but it seems to be a dragonmapper issue.
Hi, Dragonmapper is an awesome library. I am using it (0.2.6) for many projects, which use CEDICT as a data source for further text processing. I found problems with numbered...
## Summary The delimiter parameter to `to_pinyin()` has no effect # Example: ```python hanzi.to_pinyin("我猕猴桃过敏。", delimiter='.') # ACTUAL OUTPUT: # 'wǒmíhóutáoguòmǐn。' # EXPECTED OUTPUT: # 'wǒ.míhóutáo.guòmǐn。' ``` The default delimiter of...
The following entries are missing in transcriptions.csv: ``` eng,ㄥ,ŋ tei,ㄊㄟ,tʰeɪ ``` I discovered them by trying to convert all of CC-CEDICT to zhuyin. I'm also not certain whether I used...
哟,他怎么来了? Yó,tā zěnme lái le? Oh, how did he get here? Transcription of *yo* ``` yo,ㄧㄛ,iɔ ```
Correct IPA transcriptions: ``` yong -> iʊŋ you -> ioʊ ```
Using dragonmapper's APIs get HTML output like this (requires styling, included): [Image 1](http://s33.postimg.org/nzsw0y4qn/Screenshot_from_2016_05_24_01_17_00.png) [Image 2, with FZKai-Extended font](http://s33.postimg.org/mdxbbaz9b/Screenshot_from_2016_05_24_03_08_08.png)
```python3 hanzi.to_zhuyin('嗲') ValueError: Not a valid Syllable: dia3 ``` I have it fixed in my HTML branch, but I can submit a separate PR if you want :-) Just let...
Fixed the file `hanzi_pinyin_words.tsv` to correctly output lüè/nüè (i.e., bug fix for Issue #30 ). Added a test in `test_hanzi.py` to test the bug fix.