def test_init5(self): word = Word("y") assert word.word_syllabified == "-y"
def test_repr(self): word = Word("hierático.") assert word.__repr__() == "<Word: '-hie-rá-ti-co'>"
def test_init3(self): word = Word("¡.,+'melopea...!") assert word.word_syllabified == "-me-lo-pe-a"
def test_init4(self): word = Word("¡.,+'alcohol...!") assert word.word_syllabified == "-al-co-hol"
def test_init1(self): word = Word("¡.,+'onomatopeya...!") assert word.word_syllabified == "-o-no-ma-to-pe-ya"
def test_init2(self): word = Word("¡.,+'hierático...!") assert word.word_syllabified == "-hie-rá-ti-co"
def test_further_scans_2(self): word = Word("molestias") assert word.syllabify_word() == "-mo-les-tias"
def test_find_stressed_vowel1(self): word = Word("huida") assert word.consonant_rhyme == "ida"
def test_further_scans_1(self): word = Word("ahínco") assert word.syllabify_word() == "-a-hín-co"
def test_pre_syllabify4(self): word = Word("melopea") assert word.pre_syllabify() == "-me-lo-pe-a"
def test_pre_syllabify3(self): word = Word("muerte") assert word.pre_syllabify() == "-mu-er-te"
def test_pre_syllabify2(self): """Diphthongs still omited """ word = Word("áureo") assert word.pre_syllabify() == "-á-u-re-o"
def test_pre_syllabify1(self): """Hiatus with 'h' inbetween vowels""" word = Word("ahínco") assert word.pre_syllabify() == "-a-hín-co"