package
0.21.0
Repository: https://go.googlesource.com/text
Documentation: pkg.go.dev

# Functions

MakeElem returns an Elem for the given values.
MakeQuaternary returns an Elem with the given quaternary value.
MatchLang finds the index of t in tags, using a matching algorithm used for collation and search.
NewNumericWeighter wraps w to replace individual digits to sort based on their numeric value.

# Constants

No description provided by the author
For normal collation elements, we assume that a collation element either has a primary or non-default secondary value, not both.
21 bits.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

An Iter incrementally converts chunks of the input text to collation elements, while ensuring that the collation elements are in normalized order (that is, they are in the order as if the input text were normalized first).
Table holds all collation data for a given collation ordering.
No description provided by the author

# Interfaces

A Weighter can be used as a source for Collator and Searcher.

# Type aliases

No description provided by the author
Elem is a representation of a collation element.
Level identifies the collation comparison level.