tsroten / dragonmapper

Identification and conversion functions for Chinese text processing
MIT License
54 stars 18 forks source link

weird output from to_pinyin #10

Closed subhero24 closed 8 years ago

subhero24 commented 8 years ago

The following code

print dragonmapper.hanzi.to_pinyin(u'女') print dragonmapper.hanzi.to_pinyin(u'女人')

outputs:

n̈ǔ nǚren

where i think it should be:

nǚ nǚren

tsroten commented 8 years ago

@brunovandamme Thanks for pointing out this bug. Not sure how that data slipped in there.