Skip to content

Commit

Permalink
added examples/tests for rebreath
Browse files Browse the repository at this point in the history
  • Loading branch information
jtauber committed Jul 27, 2016
1 parent ec52eb4 commit 8c07d08
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,16 @@ drops smooth breathing and replaces rough breathing with an `h`:
'κἀγω'


The `rebreath` function will convert `h` back to rough breathing and add
smooth breathing if necessary, effectively reversing `debreath`.

>>> rebreath('οικία')
'οἰκία'

>>> rebreath('')
'ὅ'


You can find out the length of a syllable:

>>> syllable_length('κός') == SHORT
Expand Down

0 comments on commit 8c07d08

Please sign in to comment.