Discover Packages
github.com/open-rails/contentkit
internal
normalize
package
Version:
v0.58.10
Opens a new window with list of versions in this module.
Published: Sep 28, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package normalize cleans user query text before retrieval.
HasAnyLetterOrNumber reports whether q contains searchable text.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.