def test_legality_principle_syllable_tokenizer(self):
    '\n        Test LegalitySyllableTokenizer tokenizer.\n        '
    from nltk.corpus import words
    test_word = 'wonderful'
    tokenizer = LegalitySyllableTokenizer(words.words())
    tokens = tokenizer.tokenize(test_word)
    assert (tokens == ['won', 'der', 'ful'])
Test LegalitySyllableTokenizer tokenizer.
def test_legality_principle_syllable_tokenizer(self):
    '\n        \n        '
    from nltk.corpus import words
    test_word = 'wonderful'
    tokenizer = LegalitySyllableTokenizer(words.words())
    tokens = tokenizer.tokenize(test_word)
    assert (tokens == ['won', 'der', 'ful'])