mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-28 09:08:54 +00:00
Do parsing first
This commit is contained in:
@@ -20,7 +20,8 @@ class GraphemeSquence:
|
|||||||
|
|
||||||
def parse_grapheme_and_arpabet_sequence(input_text):
|
def parse_grapheme_and_arpabet_sequence(input_text):
|
||||||
"""
|
"""
|
||||||
Parse a string into an array of ArpabetSequence and GraphemeSequence so that each can be treated independently.
|
Parse a string into an array of ArpabetSequence and GraphemeSequence so that each
|
||||||
|
subsequence can be treated independently.
|
||||||
"""
|
"""
|
||||||
sequence = []
|
sequence = []
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
from tts.text.phonetization.parser import ArpabetSequence, GraphemeSquence, parse_grapheme_and_arpabet_sequence
|
from tts.text.input_parsing.parser import ArpabetSequence, GraphemeSquence, parse_grapheme_and_arpabet_sequence
|
||||||
|
|
||||||
class TestParser:
|
class TestParser:
|
||||||
|
|
||||||
Reference in New Issue
Block a user