Documentation
¶
Overview ¶
Package normalizer provides text normalization for sensitive word detection Creator: Done-0 Created: 2025-01-15
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsVariantLoaded ¶
func IsVariantLoaded() bool
func LoadVariantMap ¶
Types ¶
type Normalizer ¶
type Normalizer struct {
// contains filtered or unexported fields
}
func New ¶
func New(variant, caseSensitive bool) *Normalizer
func (*Normalizer) Normalize ¶
func (n *Normalizer) Normalize(text string) string
Click to show internal directories.
Click to hide internal directories.