Fixes, 1.0.2
This commit is contained in:
parent
c90ccd79a6
commit
df94686813
4 changed files with 16 additions and 16 deletions
|
|
@ -13,18 +13,18 @@ print b.transliterate_from_hira_to_latn()
|
|||
# Should print "kanazawa"
|
||||
|
||||
# Transliterate from either Hiragana or Katakana to Latin/English
|
||||
print b.transliterate_from_hrkt_to_latn(text = 'カナザワ')
|
||||
print b.transliterate_from_hrkt_to_latn(text = u'(ストロベリー)')
|
||||
# Should print "kanazawa"
|
||||
|
||||
# Transliterate from Katakan to Hiragana (You... probably never need to do this)
|
||||
print b.transliterate_from_kana_to_hira(text = 'キットカート')
|
||||
#print b.transliterate_from_kana_to_hira(text = 'キットカート')
|
||||
# Should print "きっとかーと"
|
||||
|
||||
# Transliterate from Hiragana to Katakana
|
||||
print b.transliterate_from_hira_to_kana(text = 'かなざわ')
|
||||
#print b.transliterate_from_hira_to_kana(text = 'かなざわ')
|
||||
# Should print "カナザワ"
|
||||
|
||||
# If you want to convert between half/full width kana, you can use the following
|
||||
# functions. I didn't care enough to do demos here. ;|
|
||||
b.transliterate_from_halfwidth_to_fullwidth()
|
||||
b.transliterate_from_fullwidth_to_halfwidth()
|
||||
#b.transliterate_from_halfwidth_to_fullwidth()
|
||||
#b.transliterate_from_fullwidth_to_halfwidth()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue