shixian.shi
2023-11-23 c9f1b4e8a2e903f74de20d019e70307c26e93c3e
1
2
3
4
5
6
7
8
9
10
11
 
from fun_text_processing.inverse_text_normalization.tl.graph_utils import GraphFst
 
 
class FractionFst(GraphFst):
    """
    Finite state transducer for verbalizing fraction, 
    """
 
    def __init__(self):
        super().__init__(name="fraction", kind="verbalize")