scripts

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cyrl added in v0.5.0

type Cyrl struct{}

Cyrl represents the Cyrillic script.

вулкан

func (Cyrl) Is added in v0.5.0

func (Cyrl) Is(ch rune) bool

Is checks whether the character is Cyrillic or not.

func (Cyrl) LocalizePunct added in v0.5.0

func (Cyrl) LocalizePunct(punct rune) string

LocalizePunct does nothing.

func (Cyrl) Normalize added in v0.5.0

func (Cyrl) Normalize(ch rune) rune

Normalize converts character into lower case.

type Geor added in v0.5.0

type Geor struct{}

Geor represents the Georgian script.

ასომთავრული

func (Geor) Is added in v0.5.0

func (Geor) Is(ch rune) bool

Is checks whether the character is Georgian or not.

func (Geor) LocalizePunct added in v0.5.0

func (Geor) LocalizePunct(punct rune) string

LocalizePunct does nothing.

func (Geor) Normalize added in v0.5.0

func (Geor) Normalize(ch rune) rune

Normalize does nothing. Georgian is unicase, which means, there's only one case for each letter.

type Grek added in v0.5.0

type Grek struct{}

Grek represents the Greek script.

ελληνικά

func (Grek) Is added in v0.5.0

func (Grek) Is(ch rune) bool

Is checks whether the character is Greek or not.

func (Grek) LocalizePunct added in v0.5.0

func (Grek) LocalizePunct(punct rune) string

LocalizePunct does nothing.

func (Grek) Normalize added in v0.5.0

func (Grek) Normalize(ch rune) rune

Normalize converts character into lower case.

type Hrkt added in v0.5.0

type Hrkt struct{}

Hrkt represents the Japanese syllabaries including Hiragana and Katakana.

ひらがな カタカナ

func (Hrkt) Is added in v0.5.0

func (Hrkt) Is(ch rune) bool

Is checks whether the character is either Hiragana or Katakana.

func (Hrkt) LocalizePunct added in v0.5.0

func (Hrkt) LocalizePunct(punct rune) string

LocalizePunct converts a Japanese punctuation to fit in Korean.

func (Hrkt) Normalize added in v0.5.0

func (Hrkt) Normalize(ch rune) rune

Normalize converts Hiragana to Katakana.

type Latn added in v0.5.0

type Latn struct{}

Latn represents the Latin or Roman script. Most languages Hangulize supports use this script system. So it's the default script.

func (Latn) Is added in v0.5.0

func (Latn) Is(ch rune) bool

Is checks whether the character is Latin or not.

func (Latn) LocalizePunct added in v0.5.0

func (Latn) LocalizePunct(punct rune) string

LocalizePunct does nothing.

func (Latn) Normalize added in v0.5.0

func (Latn) Normalize(ch rune) rune

Normalize converts a Latin character into ISO basic Latin lower alphabet [a-z]:

Pokémon -> pokemon

Jump to

Keyboard shortcuts

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