Speect Plug-in for SG2PRewrites class
Load grapheme-to-phoneme (speect.g2p.SG2P) rewrite rules objects from EBML formatted files.
load_g2p_rewrites_ebml(path)
Load a g2p (grapheme-to-phoneme) rewrites class implementation from an EBML file.
Parameters: | path (string) – Full path and file name where the EBML format g2p rewrites should be loaded from. |
---|---|
Returns: | g2p (grapheme-to-phoneme) instance. |
Return type: | SG2P |