/* * meow_pinyin.h — 中文拼音候选引擎公开接口(meow_ui_ime.c 调用;实现在 meow_pinyin.c)。 * 词库(meow_pinyin_lex.h)与本接口均进 meow_ui.a。纯 C 静态表驱动,零堆、无 stdio。 */ #ifndef MEOW_PINYIN_H #define MEOW_PINYIN_H /* 输入当前拼音组合串(去声调小写,如 "nihao"),输出候选列表(UTF-8,out 拷贝),返回条数。 * out 至少 maxout 项、每项 ≥64B。无候选返回 0。 */ int py_predict(const char *py, char out[][64], int maxout); #endif /* MEOW_PINYIN_H */