Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportIgnoreWords ¶
ExportIgnoreWords は除外ワードをエクスポートする
Types ¶
type Analyzer ¶
type Analyzer struct { SysDict *dict.Dict // Reading()はuni系だと使えないため、各辞書のconstから持って来て利用する // https://github.com/ikawaha/kagome-dict/blob/339b5b8724769ec9506e29fb5e771a9ec012784f/uni/tool/main.go#L39 ReadingIndex int IsIgnored bool }
func (Analyzer) Analyze ¶
func (a Analyzer) Analyze(input string) (gomamayoResult GomamayoResult)
Analyze は input がゴママヨか判定する
type GomamayoDetail ¶
type GomamayoResult ¶
type GomamayoResult struct { IsGomamayo bool `json:"isGomamayo"` Combo int `json:"combo"` Detail []GomamayoDetail `json:"detail"` }
Click to show internal directories.
Click to hide internal directories.