It seems you are using a simple tokenizer function to place hats while the package itself does not handle voice control commends. there is already a binding in Emacs that calls external NLP functions to tokenizer Chinese text (and any other languages supported by the backend, which can be Apple NL framework or WinRT or icu), if you could modify the code to all use a custom function that accepts a string and returns possible break points as array, specifically emt--do-split-helper
, that could make integration with existing code a lot easier
3 个赞