Documentation ¶
Overview ¶
Package translit convert russian text to translit
Index ¶
- func ALALC(text string) string
- func BGN(text string) string
- func BS(text string) string
- func EncodeToALALC(text string) stringdeprecated
- func EncodeToBGN(text string) stringdeprecated
- func EncodeToBS(text string) stringdeprecated
- func EncodeToICAO(text string) stringdeprecated
- func EncodeToISO9A(text string) stringdeprecated
- func EncodeToISO9B(text string) stringdeprecated
- func EncodeToPCGN(text string) stringdeprecated
- func EncodeToScientific(text string) stringdeprecated
- func ICAO(text string) string
- func ISO9A(text string) string
- func ISO9B(text string) string
- func PCGN(text string) string
- func Scientific(text string) string
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ALALC ¶ added in v2.1.0
ALALC encodes text with ALA-LC mappings
Example ¶
fmt.Println(ALALC(source))
Output: Shirokai͡a ėlektrifikat͡sii͡a i͡uzhnykh guberniĭ dast moshchnyĭ tolchok pod″ëmu sel′skogo khozi͡aĭstva.
func BGN ¶ added in v2.1.0
BGN encodes text with BGN mappings
Example ¶
fmt.Println(BGN(source))
Output: Shirokaya elektrifikatsiya yuzhnykh guberniy dast moshchnyy tolchok pod″ëmu sel′skogo khozyaystva.
func BS ¶ added in v2.1.0
BS encodes text with BS 2979:1958 mappings
Example ¶
fmt.Println(BS(source))
Output: Shirokaya élektrifikatsiya yuzhnȳkh guberniĭ dast moshchnȳĭ tolchok pod″ëmu sel′skogo khozyaĭstva.
func EncodeToALALC
deprecated
func EncodeToBGN
deprecated
func EncodeToBS
deprecated
func EncodeToICAO
deprecated
func EncodeToISO9A
deprecated
func EncodeToISO9B
deprecated
func EncodeToPCGN
deprecated
func EncodeToScientific
deprecated
func ICAO ¶ added in v2.1.0
ICAO encodes text with ICAO mappings
Example ¶
fmt.Println(ICAO(source))
Output: Shirokaia elektrifikatsiia iuzhnykh gubernii dast moshchnyi tolchok podieemu selskogo khoziaistva.
func ISO9A ¶ added in v2.1.0
ISO9A encodes text with ISO 9:1995/A ГОСТ 7.79-2000/A mappings
Example ¶
fmt.Println(ISO9A(source))
Output: Širokaâ èlektrifikaciâ ûžnyh gubernij dast moŝnyj tolčok pod″ëmu sel′skogo hozâjstva.
func ISO9B ¶ added in v2.1.0
ISO9B encodes text with ISO 9:1995/B ГОСТ 7.79-2000/Б mappings
Example ¶
fmt.Println(ISO9B(source))
Output: Shirokaya e`lektrifikaсiya yuzhny`x gubernij dast moshhny`j tolchok pod``yomu sel`skogo xozyajstva.
func PCGN ¶ added in v2.1.0
PCGN encodes text with PCGN mappings
Example ¶
fmt.Println(PCGN(source))
Output: Shirokaya elektrifikatsiya yuzhnykh guberniy dast moshchnyy tolchok pod″ëmu sel′skogo khozyaystva.
func Scientific ¶ added in v2.1.0
Scientific encodes text with scientific mappings
Example ¶
fmt.Println(Scientific(source))
Output: Širokaja èlektrifikacija južnych gubernij dast moščnyj tolčok pod″ëmu sel′skogo chozjajstva.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.