Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NUM_CPU = runtime.NumCPU()
逻辑 CPU 数量(线程数)
Functions ¶
This section is empty.
Types ¶
type Dict ¶
type Dict struct { // 码表文件 Text *Text // default, jisu, duoduo|bingling, jidian Format string // 顶屏模式 Pattern string // 选重键 SelectKeys string // 是否只用码表里的单字 Single bool // 匹配算法 greedy|ordered|dynamic Algorithm string // 空格按键方式 both|left|right SpacePref string // 转换码表是否覆盖 Overwrite bool Matcher matcher.Matcher Length int // 词条数 IsInit bool // 是否已经初始化 // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.