From 8c07d080ebcc67623a5d6d213fefe5bbab5d27ab Mon Sep 17 00:00:00 2001 From: James Tauber Date: Wed, 27 Jul 2016 00:44:58 -0400 Subject: [PATCH] added examples/tests for rebreath --- docs.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs.rst b/docs.rst index f6332af..f99b067 100644 --- a/docs.rst +++ b/docs.rst @@ -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('hό') +'ὅ' + + You can find out the length of a syllable: >>> syllable_length('κός') == SHORT