Results 215 comments of Shewer Lu

用opencc https://github.com/LEOYoon-Tsaw/Rime_collections/blob/master/Rime_description.md#%E4%BA%94simplifier comment_format: 過濾轉換 comment show_in_comment: true 也可以 用rime 的字典在英文字典上有個問題就是: rime dict 是tree 結構 , 候選字排序: "短字串"優先於"長字串" ,同字長的再排序權重。 在使用 enable_completeion: true時 ex : ther 後接着 會是 there ther ther[a-z] ther[a-z][a-z]...

可以寄給我 字典檔嗎 [email protected] 試試看如何提前預排序, 另外我好像找到重覆初始化的問題了, 英文字典初始化掛錯地方,造成重覆初始化 ,我用原始詞條件50K 載入約1S

己改善好了 載入時間 380k 1S 50k 0.1S (Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz ,ssd ) 1 自動生成固態字典,以固態字典載入優先 txt --> txtl 2 共用字典table , 減少記憶體佔用及載入時間

是加入 字元排序字典結構還是 dict.yaml 的comment

發覺用leveldb也不錯,可以降低載入內存用量,只是不曉得用 leveldb.iterator().seek(string) 是不是有序的把資料調出 目前是將有序的ecdict (key : 單字 or 字句 value: line of csv format)依順序put to leveldb 使用 iterator.seek( str) 看起來是有序的 測試環境 lua + luarocks + lualeveldb 請問: 如果要在libirme-lua 加入 leveldb...

> 使用 rime/dict/level_db.h class LevelDb & *DbAccessor 打開ecdict data 10ms

```yaml patch: editor/bindings: "Control+Return": commit_comment "Control+Delete": delete_candidate ```

[https://github.com/hchunhui/librime-lua/issues/50#issuecomment-660611375](url) 架構己完成 。 唯 xform xlit 要用 lua gsub 重寫 processor ( 熱鍵 上一個 下一個 快鍵 ) reverse_lookup 切換反查字典

請問 reverse_lookup_filter 能做開關 ,如果可以 怎麼做 有範例就好了 謝謝。

在-> https://github.com/shewer/librime-lua-script 現在正在 將 build/schema.yaml的 comment_format & dictionary 導入 lua