Documentation ¶
Overview ¶
Package internal contains non-exported functionality that are used by packages in the text repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Parent = []uint16{} // Size: 1508 bytes /* 742 elements not displayed */
Parent maps a compact index of a tag to the compact index of the parent of this tag.
Functions ¶
func NewInheritanceMatcher ¶
NewInheritanceMatcher returns a matcher that matches based on the inheritance chain.
The matcher uses canonicalization and the parent relationship to find a match. The resulting match will always be either Und or a language with the same language and script as the requested language. It will not match languages for which there is understood to be mutual or one-directional intelligibility.
A Match will indicate an Exact match if the language matches after canonicalization and High if the matched tag is a parent.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package colltab contains functionality related to collation tables.
|
Package colltab contains functionality related to collation tables. |
Package format contains types for defining language-specific formatting of values.
|
Package format contains types for defining language-specific formatting of values. |
plural
Package plural defines the grammatical plural feature.
|
Package plural defines the grammatical plural feature. |
Package gen contains common code for the various code generation tools in the text repository.
|
Package gen contains common code for the various code generation tools in the text repository. |
Package number contains tools and data for formatting numbers.
|
Package number contains tools and data for formatting numbers. |
Package stringset provides a way to represent a collection of strings compactly.
|
Package stringset provides a way to represent a collection of strings compactly. |
Package tag contains functionality handling tags and related data.
|
Package tag contains functionality handling tags and related data. |
Package testtext contains test data that is of common use to the text repository.
|
Package testtext contains test data that is of common use to the text repository. |
Package triegen implements a code generator for a trie for associating unsigned integer values with UTF-8 encoded runes.
|
Package triegen implements a code generator for a trie for associating unsigned integer values with UTF-8 encoded runes. |
Package ucd provides a parser for Unicode Character Database files, the format of which is defined in http://www.unicode.org/reports/tr44/.
|
Package ucd provides a parser for Unicode Character Database files, the format of which is defined in http://www.unicode.org/reports/tr44/. |
Package utf8internal contains low-level utf8-related constants, tables, etc.
|
Package utf8internal contains low-level utf8-related constants, tables, etc. |