roedoejet / g2p

Grapheme-to-Phoneme transductions that preserve input and output indices, and support cross-lingual g2p!
https://g2p-studio.herokuapp.com
Other
119 stars 26 forks source link

g2p-studio current can't map "hello" correctly from eng to eng-arpabet #338

Closed joanise closed 3 months ago

joanise commented 4 months ago

To reproduce:

running locally, I see lots of these warnings at the console:

WARNING -
There is something wrong with your mapping.
You might be missing some keywords or
Not all of the input and output pairs in your mapping have values for "in" and "out"
You may need to rerun "g2p update" after resolving this problem.
Please refer to the documentation and fix your mapping.

You have to either specify some rules or a path to a file containing rules.

and also

WARNING - Skipping invalid mapping: 1 validation error for Mapping
rules
  Input should be a valid list [type=list_type, input_value=None, input_type=NoneType]
    For further information visit https://errors.pydantic.dev/2.6/v/list_type

My guess is eng -> eng-ipa just does not get run.

dhdaines commented 3 months ago

fixed in #347