This will add the mappings defined in your configuration to the existing g2p network, so be careful to avoid namespace errors. If you have written your own mapping that is not included in the standard g2p library, you can point to its configuration file using the -config flag, as in g2p convert -config path/to/config.yml. g2p convert hej dan eng-arpabet would produce HH EH Y If you want to convert a string on the command line, you can use g2p convert Įx. You do this by running g2p update convert ![]() If you edit or add new mappings to the folder, you need to update g2p.
0 Comments
Leave a Reply. |