// GetPlural retrieves the plural inflection values
978660
func GetPlural() RegularSlice {
	plurals := make(RegularSlice, len(pluralInflections))
	copy(plurals, pluralInflections)
	return plurals
}
783543
func (c SplitSize) Get(path string, filler Filler) (o Object, err error) {
	for _, child := range c {
		o, err = child.Cache.Get(path, nil)
		if err == nil {
			return
		}
	}

	if err != nil && filler != nil {
		o, err = filler.Fill(c, path)
	}

	return
}
421349
func (v Int32) Get(deflt int32) int32 {
	if !v.Defined {
		return deflt
	}
	return v.V
}
876077
func (ruleFormats *RuleFormats) GetRuleFormats() error {
	req, err := client.NewRequest(
		Config,
		"GET",
		"/papi/v1/rule-formats",
		nil,
	)
	if err != nil {
		return err
	}

	res, err := client.Do(Config, req)
	if err != nil {
		return err
	}

	if client.IsError(res) {
		return client.NewAPIError(res)
	}

	if err := client.BodyJSON(res, ruleFormats); err != nil {
		return err
	}

	sort.Strings(ruleFormats.RuleFormats.Items)

	return nil
}
535041
func (r *Result) IntoSingular(b *bool) *Result {
	*b = r.singular
	return r
}
332356
func GetSingular() RegularSlice {
	singulars := make(RegularSlice, len(singularInflections))
	copy(singulars, singularInflections)
	return singulars
}
544922
func Pluralize(word string) string {
	if lingo.InStringSlice(word, unconvertable) {
		return word
	}

	for _, cp := range irregular {
		if cp.pattern.MatchString(word) {
			return cp.replacement
		}
	}

	for _, cp := range plural {
		if cp.pattern.MatchString(word) {
			// log.Printf("\t%q Matches %q", word, cp.pattern.String())
			return cp.pattern.ReplaceAllString(word, cp.replacement)
		}
	}
	return word
}
1023852
func (api artistApi) GetSimilar(args map[string]interface{}) (result ArtistGetSimilar, err error) {
	defer func() { appendCaller(err, "lastfm.Artist.GetSimilar") }()
	err = callGet("artist.getsimilar", api.params, args, &result, P{
		"plain": []string{"limit", "artist", "autocorrect", "mbid"},
	})
	return
}
377519
func (v Optional) Get(deflt A) A {
	if !v.Defined {
		return deflt
	}
	return v.V
}
698762
func (l *Level) GetTile(pt engo.Point) *Tile {
	mp := l.mapPoint(pt)
	x := int(math.Floor(mp.X))
	y := int(math.Floor(mp.Y))
	t, ok := l.pointMap[mapPoint{X: x, Y: y}]
	if !ok {
		return nil
	}
	return t
}
10782
func (t *TeamLDAPMapping) GetPrivacy() string {
	if t == nil || t.Privacy == nil {
		return ""
	}
	return *t.Privacy
}
600949
func (api tagApi) GetSimilar(args map[string]interface{}) (result TagGetSimilar, err error) {
	defer func() { appendCaller(err, "lastfm.Tag.GetSimilar") }()
	err = callGet("tag.getsimilar", api.params, args, &result, P{
		"plain": []string{"tag"},
	})
	return
}
493813
func (rs *Ruleset) AddPlural(suffix, replacement string) {
	rs.AddPluralExact(suffix, replacement, false)
}
310969
func GetIrregular() IrregularSlice {
	irregular := make(IrregularSlice, len(irregularInflections))
	copy(irregular, irregularInflections)
	return irregular
}
943746
func (ksh *ksh) CardinalPluralRule(num float64, v uint64) locales.PluralRule {

	n := math.Abs(num)

	if n == 0 {
		return locales.PluralRuleZero
	} else if n == 1 {
		return locales.PluralRuleOne
	}

	return locales.PluralRuleOther
}
500671
func (v Float64) Get(deflt float64) float64 {
	if !v.Defined {
		return deflt
	}
	return v.V
}
728880
func (s Style) GetTextWrap(defaults ...TextWrap) TextWrap {
	if s.TextWrap == TextWrapUnset {
		if len(defaults) > 0 {
			return defaults[0]
		}
		return TextWrapUnset
	}
	return s.TextWrap
}