fix apostrophe, hyphen

This commit is contained in:
Brandon Thomas
2022-07-05 03:31:25 -04:00
parent c81f8d323c
commit ffbf36fd13
4 changed files with 35 additions and 1 deletions
@@ -23,6 +23,8 @@ class ArpabetSequence:
self.sequence = sequence
def __eq__(self, other: Any) -> bool:
return isinstance(other, ArpabetSequence) and self.sequence == other.sequence
def __repr__(self):
return f"<ArpabetSequence: {self.sequence}>"
class GraphemeSequence:
@@ -34,6 +36,8 @@ class GraphemeSequence:
self.sequence = sequence
def __eq__(self, other: Any) -> bool:
return isinstance(other, GraphemeSequence) and self.sequence == other.sequence
def __repr__(self):
return f"<GraphemeSequence: {self.sequence}>"
ParsedSequence = List[Union[ArpabetSequence, GraphemeSequence]]