-
📝 Writing Swift Python Kotlin Javascript
-
⚡ Fun fact: www.cnswift.org, www.logcg.com, im.logcg.com, creator of 落格输入法~
r0uter / loginputengine Goto Github PK
View Code? Open in Web Editor NEW落格输入法中文拼音整句输入引擎
License: MIT License
落格输入法中文拼音整句输入引擎
License: MIT License
📝 Writing Swift Python Kotlin Javascript
⚡ Fun fact: www.cnswift.org, www.logcg.com, im.logcg.com, creator of 落格输入法~
# 1 从 articles 目录中生成预处理好的语料
data_produce.gen_data_txt(process_num=6, mem_limit_gb=5)
项目里好像没有这个方法
如题:如果是本地离线引擎,python代码是如何跑在iOS中的?云端的话感觉安全和隐私很难保证。
$ python main.py
Traceback (most recent call last):
File "main.py", line 3, in from train import data_produce, get_transition_from_data, get_smooth_transition File "C:\Users\itibia\Downloads\LoginputEngine-master\LoginputEngine-master\train\get_transition_from_data.py", line 11, in import mmkv
ModuleNotFoundError: No module named 'mmkv'
自己找了半天,可能是对应到 https://github.com/Tencent/MMKV吧?但这个是C++库,似乎要编译了才能用。
另外项目中似乎也没有用于train的语料内容或者格式介绍。
感谢作者开源分享,同时希望维护一下相关内容,让项目成为一个简单配置环境就可以跑起来的demo。
Traceback (most recent call last):
File "D:\01AiDaShuAiGe\Project\LoginputEngine\main.py", line 3, in
from train import data_produce, get_transition_from_data, get_smooth_transition
ImportError: No module named train
下面是main.py代码
import tqdm
import os
from train import data_produce, get_transition_from_data, get_smooth_transition 这句话报错
import database_generator
如果我 pip install train 后,会出现其他更多错
不知道这个怎么解决了,求帮助
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.