Skip to content

Commit

Permalink
updated pynini_export.py file to create far files (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: BuyuanCui <[email protected]>
  • Loading branch information
BuyuanCui authored Jul 6, 2023
1 parent cf62bb8 commit c7c549e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/text_processing_deployment/pynini_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ def parse_args():
VerbalizeFst as ITNVerbalizeFst,
)
elif args.language == 'zh':
from nemo_text_processing.inverse_text_normalization.zh.taggers.tokenize_and_classify import (
ClassifyFst as ITNClassifyFst,
)
from nemo_text_processing.inverse_text_normalization.zh.verbalizers.verbalize import (
VerbalizeFst as ITNVerbalizeFst,
)
from nemo_text_processing.text_normalization.zh.taggers.tokenize_and_classify import (
ClassifyFst as TNClassifyFst,
)
Expand Down

0 comments on commit c7c549e

Please sign in to comment.