7 Star 0 Fork 0

OpenCloudOS Stream/zinnia

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile.tomoe 917 Bytes
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-05-06 15:59 . package init
TOMOE_MODEL_PATH = /usr/share/tomoe/recognizer/
build: handwriting-ja.model handwriting-zh_CN.model tomoe2s.pl
handwriting-ja.model: $(TOMOE_MODEL_PATH)/handwriting-ja.xml
perl tomoe2s.pl $(TOMOE_MODEL_PATH)/handwriting-ja.xml > handwriting-ja.s
LD_LIBRARY_PATH=.libs/ ./zinnia_learn handwriting-ja.s handwriting-ja.model
LD_LIBRARY_PATH=.libs/ ./zinnia_convert handwriting-ja.model.txt handwriting-ja.model
handwriting-zh_CN.model: $(TOMOE_MODEL_PATH)/handwriting-zh_CN.xml
perl tomoe2s.pl $(TOMOE_MODEL_PATH)/handwriting-zh_CN.xml > handwriting-zh_CN.s
LD_LIBRARY_PATH=.libs/ ./zinnia_learn handwriting-zh_CN.s handwriting-zh_CN.model
LD_LIBRARY_PATH=.libs/ ./zinnia_convert handwriting-zh_CN.model.txt handwriting-zh_CN.model
install: build
install -d $(DESTDIR)/usr/share/zinnia//model/tomoe
install -m 0644 -p handwriting-ja.model handwriting-zh_CN.model $(DESTDIR)/usr/share/zinnia//model/tomoe
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/zinnia.git
git@gitee.com:opencloudos-stream/zinnia.git
opencloudos-stream
zinnia
zinnia
master

搜索帮助