# Path: epitran/flite.py
#     def unicode(x):
#     def __init__(self, arpabet='arpabet', ligatures=False, **kwargs):
#     def _read_arpabet(self, arpabet):
#     def normalize(self, text):
#     def arpa_text_to_list(self, arpa_text):
#     def arpa_to_ipa(self, arpa_text, ligatures=False):
#     def english_g2p(self, english):
#     def transliterate(self, text, normpunc=False, ligatures=False):
#     def strict_trans(self, text, normpunc=False, ligatures=False):
#     def word_to_tuples(self, word, normpunc=False):
#         def cat_and_cap(c):
#         def recode_ft(ft):
#         def vec2bin(vec):
#         def to_vector(seg):
#         def to_vectors(phon):
#     def english_g2p(self, text):
#     def arpa_text_to_list(self, arpa_text):
#     def english_g2p(self, text):
# class Flite(object):
# class FliteT2P(Flite):
# class FliteLexLookup(Flite):


import unittest
import epitran
from epitran import flite
#!/usr/bin/env Python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function



class TestFlite(unittest.TestCase):
    def setUp(self):
        self.flite = epitran.Epitran('eng-Latn')

    def test_san_leandro(self):
        self.assertEqual(self.flite.transliterate('San Leandro'), 'sæn liɑndɹow')

    def test_parowan(self):
        self.assertEqual(self.flite.transliterate('Parowan'), 'pɛɹ̩awən')


class TestLexLookup(unittest.TestCase):
    def setUp(self):
        self.flite = flite.FliteLexLookup()

    def test_san_leandro(self):
        self.assertEqual(self.flite.transliterate('San Leandro'), 'sæn liɑndɹow')

    def test_parowan(self):

# Path: epitran/flite.py
#     def unicode(x):
#     def __init__(self, arpabet='arpabet', ligatures=False, **kwargs):
#     def _read_arpabet(self, arpabet):
#     def normalize(self, text):
#     def arpa_text_to_list(self, arpa_text):
#     def arpa_to_ipa(self, arpa_text, ligatures=False):
#     def english_g2p(self, english):
#     def transliterate(self, text, normpunc=False, ligatures=False):
#     def strict_trans(self, text, normpunc=False, ligatures=False):
#     def word_to_tuples(self, word, normpunc=False):
#         def cat_and_cap(c):
#         def recode_ft(ft):
#         def vec2bin(vec):
#         def to_vector(seg):
#         def to_vectors(phon):
#     def english_g2p(self, text):
#     def arpa_text_to_list(self, arpa_text):
#     def english_g2p(self, text):
# class Flite(object):
# class FliteT2P(Flite):
# class FliteLexLookup(Flite):


# Path: epitran/test/test_flite.py
import unittest
import epitran
from epitran import flite

#!/usr/bin/env Python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function



class TestFlite(unittest.TestCase):
    def setUp(self):
        self.flite = epitran.Epitran('eng-Latn')

    def test_san_leandro(self):
        self.assertEqual(self.flite.transliterate('San Leandro'), 'sæn liɑndɹow')

    def test_parowan(self):
        self.assertEqual(self.flite.transliterate('Parowan'), 'pɛɹ̩awən')


class TestLexLookup(unittest.TestCase):
    def setUp(self):
        self.flite = flite.FliteLexLookup()

    def test_san_leandro(self):
        self.assertEqual(self.flite.transliterate('San Leandro'), 'sæn liɑndɹow')

    def test_parowan(self):

        self.assertEqual(self.flite.transliterate('Parowan'), 'pɛɹ̩awən')