Versions in this module Expand all Collapse all v1 v1.0.1 Nov 10, 2023 v1.0.0 Nov 10, 2023 Changes in this version + type KeywordProcessor struct + func NewKeywordProcessor(caseSensitive bool) *KeywordProcessor + func (kp *KeywordProcessor) AddKeyWord(keyword string) *KeywordProcessor + func (kp *KeywordProcessor) AddKeywordsFromList(keywords []string) *KeywordProcessor + func (kp *KeywordProcessor) Build() + func (kp *KeywordProcessor) ExtractKeywords(sentence string) []Match + func (kp *KeywordProcessor) ExtractKeywordsFromBytes(sentence []byte) []Match + type Match struct + func (m *Match) End() int + func (m *Match) MatchString() string + func (m *Match) Start() int + type Node struct + type WalkFn func(start, end int) bool