Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConflictWords ¶ added in v0.1.2
type ConflictWords struct {
Words [][]string
}
func NewExamineConflictWords ¶ added in v0.1.2
func NewExamineConflictWords() (*ConflictWords, error)
func (*ConflictWords) Conflict ¶ added in v0.1.2
func (c *ConflictWords) Conflict(word1, word2 string) bool
Conflict 函数检查 word1 和 word2 是否冲突
type Data ¶
type Data struct {
Words []*wordResult `json:"words"`
}
func NewExamineData ¶
func NewExamineData(u *unfamiliar.Unfamiliar, l *word.List) (*Data, error)
func (*Data) LoadExamineDataFromFile ¶
func (*Data) SaveExamineDataToFile ¶
Click to show internal directories.
Click to hide internal directories.