data

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LanguageLocalesMap = map[string][]string{}/* 205 elements not displayed */
View Source
var LanguageMap = map[string][]string{}/* 190 elements not displayed */
View Source
var LanguageOrder = map[string]int{}/* 205 elements not displayed */
View Source
var LocaleOrder = map[string]int{}/* 504 elements not displayed */

Functions

This section is empty.

Types

type LocaleData

type LocaleData struct {
	Name                  string
	DateOrder             string
	NoWordSpacing         bool
	SentenceSplitterGroup int
	Charset               []rune
	Abbreviations         []string
	Simplifications       []ReplacementData
	Translations          map[string][]string
	RelativeType          map[string]string
	RelativeTypeRegexes   []ReplacementData
	RxCombined            *regexp.Regexp
	RxExactCombined       *regexp.Regexp
	KnownWords            []string
}

func GetLocaleData

func GetLocaleData(locale string) (*LocaleData, bool)

type ReplacementData

type ReplacementData struct {
	Rx          *regexp.Regexp
	Replacement string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL