Skip to content

word preprocess #2

Description

@xxoospring

Thanks for this awesome project ! I found a preprocess issue:

print(phoney.phonize("$234.009")) 

print(phoney.phonize("$234.09"))
#T UW1  HH AH1 N D R AH0 D  AH0 N D  TH ER1 D IY2  F AO1 R  D AA1 L ER0 Z  AH0 N D  N AY1 N  S EH1 N T S

the two lines return the same phoneme sequence, but $234.009 not equals $234.09. This situation is strictly differentiated in financial scenarios.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions