Speect Plug-in for SLexiconJSON class
speect.lexicon_json adds a method to speect.lexicon.SLexicon to load lexicon objects from JSON formatted files.
Load the JSON format lexicon at the given file path.
Parameters: | path (string) – The full path and filename of the JSON format lexicon to load. |
---|---|
Returns: | The loaded lexicon at the given path. |
Return type: | SLexicon |