Huang Huang
Huang Huang
@begeekmyfriend 是的,可能有没有处理变调的问题。不过变调似乎跟上下文还有点关系,并不单单是当前词语决定的,详见这里的讨论:https://github.com/mozillazg/python-pinyin/issues/133#issuecomment-406913070
@begeekmyfriend 嗯,等我有空的时候按照变调规则更新一下词典。同时也欢迎提交 PR。
因为 `鉆` 对应的是 `0x9246` 不是 `0x29246`。
可以呀。等我有空的时候加一下,也欢迎提交 PR 😄 BTW, 一般其他高级语言都有类似的第三方拼音库,可能不需要跨语言调用这个库 ❓
@hanabi1224 似乎一般都是用 FFI 的方式调用生成的动态链接库或静态链接库?https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#using-extern-functions-to-call-external-code 参考资料: * https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#using-extern-functions-to-call-external-code * https://doc.rust-lang.org/cargo/reference/manifest.html#building-dynamic-or-static-libraries * https://michael-f-bryan.github.io/rust-ffi-guide/ * http://jakegoulding.com/rust-ffi-omnibus/basics/
@Brooooooklyn This project doesn't support phrases_dict yet, so it's not necessary to add function like `load_phrases_dict`.
Maybe support it in the future when I have free time. Feel free to send a PR to support this feature.
+1 for Windows support
@sosadtsia Hi, Slav, could you please sign the CLA? Thanks