Documentation ¶ Overview ¶ Package normalize cleans user query text before retrieval. Index ¶ func HasAnyLetterOrNumber(q string) bool func Query(input string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HasAnyLetterOrNumber ¶ func HasAnyLetterOrNumber(q string) bool HasAnyLetterOrNumber reports whether q contains searchable text. func Query ¶ func Query(input string) string Query returns the cleaned query text: hyphenated tokens split, leading '-' treated as punctuation, whitespace collapsed. Words such as "not" stay plain text; ContentKit has no Boolean query syntax. Types ¶ This section is empty. Source Files ¶ View all Source files normalize.go Click to show internal directories. Click to hide internal directories.