GithubHelp home page GithubHelp logo

word_append_space.lua about rime-fast-xhup HOT 4 CLOSED

boomker avatar boomker commented on May 23, 2024
word_append_space.lua

from rime-fast-xhup.

Comments (4)

boomker avatar boomker commented on May 23, 2024

如果用在纯英文方案里, 我感觉应该是给符号右边添加空格. 一般来说英文符号后跟英文单词要有空格
这个我有空了尝试写下 lua 来实现

from rime-fast-xhup.

ufo169 avatar ufo169 commented on May 23, 2024

如果用在纯英文方案里, 我感觉应该是给符号右边添加空格. 一般来说英文符号后跟英文单词要有空格 这个我有空了尝试写下 lua 来实现

多谢!使用过BlindingDark/rime-easy-en方案,可以分词,格式有些偏差,而比较遗憾的是因为经过lua处理,无法记忆用户词典。我也尝试,在单词前面添加了空格,可以简单实现自动分词,效果差些,但是可以恢复用户词典的作用,主要问题是,第一个单词带有空格,其它格式挺好的,只能纯英文文档编辑用,编程不适用。另外一种尝试,使用你的自动空格lua打单词和easy-en方案自动分词打句子,效果不错,用户词典可以记忆单词,连续输入增强的效果不错,虽然无法记忆句子,不过影响不大。主要就是,符号顶屏时还无法符合英文空格格式

from rime-fast-xhup.

boomker avatar boomker commented on May 23, 2024

@ufo169 ,适用于英文输入方案的自动空格来了,参考: https://github.com/boomker/rime-fast-xhup/blob/78ac2992f1aea90f44726851ad9baad54c885c44/lua/engword_append_space.lua

from rime-fast-xhup.

ufo169 avatar ufo169 commented on May 23, 2024

@ufo169 ,适用于英文输入方案的自动空格来了,参考: https://github.com/boomker/rime-fast-xhup/blob/78ac2992f1aea90f44726851ad9baad54c885c44/lua/engword_append_space.lua

好的,多谢先,之前我只是用简单的C语言结构修改了一下,指定符号顶屏带空格,也勉强实现。这段时间比较忙,等忙完这段时间,我测试一下

from rime-fast-xhup.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.