Documentation ¶
Index ¶
Constants ¶
View Source
const NFC = "nfc"
View Source
const NFD = "nfd"
View Source
const NFKC = "nfkc"
View Source
const NFKD = "nfkd"
View Source
const Name = "normalize_unicode"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UnicodeNormalizeFilter ¶
type UnicodeNormalizeFilter struct {
// contains filtered or unexported fields
}
func MustNewUnicodeNormalizeFilter ¶
func MustNewUnicodeNormalizeFilter(formName string) *UnicodeNormalizeFilter
func NewUnicodeNormalizeFilter ¶
func NewUnicodeNormalizeFilter(formName string) (*UnicodeNormalizeFilter, error)
func (*UnicodeNormalizeFilter) Filter ¶
func (s *UnicodeNormalizeFilter) Filter(input analysis.TokenStream) analysis.TokenStream
Click to show internal directories.
Click to hide internal directories.