Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
prepare for release 0.21
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Apr 27, 2014
1 parent 065430f commit e6892b7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
Version 0.2 (27, April, 2014)
Version 0.21 (27, April, 2014)

- Wakati conversion support

Version 0.20 (27, April, 2014)

- Pickled roman tables

Version 0.1 (25, April, 2014)
Version 0.10 (25, April, 2014)

- Work on python 2.6, 2.7, 3.3, 3.4
(Thanks @FGtatsuro)
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ How To Use pykakasi
------------------

```python
import pykakasi.kakasi as kakasi
from pykakasi import kakasi,wakati

kakasi = kakasi()
kakasi.setMode("H","a") # default: Hiragana -> Roman
Expand All @@ -21,6 +21,10 @@ How To Use pykakasi
kakasi.setMode("c", false) # default: no Capitalize
conv = kakasi.getConverter()
result = conv.do(text)

wakati = wakati()
conv = wakati.getConverter()
result = conv.do(text)
```

You can use output `Mode` values from "h", "k", "a" which is each means
Expand All @@ -31,6 +35,7 @@ Also there is values of "H", "K" that means "Hiragana", and "Katakana".
You can use "Hepburn" or "Kunrei" as mode "r", Roman table switch.
Also "C" used for separator switch, "c" for capitalize switch.

`wakati` is an implementation of kakasi's wakati gaki option.

Options
-------------------
Expand Down
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ How To Use pykakasi

::

import pykakasi.kakasi as kakasi
from pykakasi import kakasi,wakati
kakasi = kakasi()
kakasi.setMode("H","a") # default: Hiragana -> Roman
Expand All @@ -20,6 +20,10 @@ How To Use pykakasi
kakasi.setMode("c", false) # default: no Capitalize
conv = kakasi.getConverter()
result = conv.do(text)
wakati = wakati()
conv = kawati.getConverter()
result = conv.do(text)

You can use output `Mode` values from "h", "k", "a" which is each means
"Hiragana", "Katakana" and "Alphabet".
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def readme():
return f.read()

setup(name='pykakasi',
version='0.2',
version='0.21',
description='Python implementation of kakasi - kana kanji simple inversion library',
url='http://github.com/miurahr/pykakasi',
license='GPLv3',
Expand Down

0 comments on commit e6892b7

Please sign in to comment.