Documentation ¶
Overview ¶
Package translit convert russian text to translit
Index ¶
- func EncodeToALALC(text string) string
- func EncodeToBGN(text string) string
- func EncodeToBS(text string) string
- func EncodeToICAO(text string) string
- func EncodeToISO9A(text string) string
- func EncodeToISO9B(text string) string
- func EncodeToPCGN(text string) string
- func EncodeToScientific(text string) string
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeToALALC ¶
EncodeToALALC encodes text with ALA-LC mappings
Example ¶
fmt.Println(EncodeToALALC(source))
Output: Shirokai͡a ėlektrifikat͡sii͡a i͡uzhnykh guberniĭ dast moshchnyĭ tolchok pod″ëmu sel′skogo khozi͡aĭstva.
func EncodeToBGN ¶
EncodeToBGN encodes text with BGN mappings
Example ¶
fmt.Println(EncodeToBGN(source))
Output: Shirokaya elektrifikatsiya yuzhnykh guberniy dast moshchnyy tolchok pod″ëmu sel′skogo khozyaystva.
func EncodeToBS ¶
EncodeToBS encodes text with BS 2979:1958 mappings
Example ¶
fmt.Println(EncodeToBS(source))
Output: Shirokai͡a ėlektrifikat͡sii͡a i͡uzhnykh guberniĭ dast moshchnyĭ tolchok pod″ëmu sel′skogo khozi͡aĭstva.
func EncodeToICAO ¶
EncodeToBS encodes text with ICAO mappings
Example ¶
fmt.Println(EncodeToICAO(source))
Output: Shirokaia elektrifikatsiia iuzhnykh gubernii dast moshchnyi tolchok podieemu selskogo khoziaistva.
func EncodeToISO9A ¶
EncodeToISO9A encodes text with ISO 9:1995/A ГОСТ 7.79-2000/A mappings
Example ¶
fmt.Println(EncodeToISO9A(source))
Output: Širokaâ èlektrifikaciâ ûžnyh gubernij dast moŝnyj tolčok pod″ëmu sel′skogo hozâjstva.
func EncodeToISO9B ¶
EncodeToISO9B encodes text with ISO 9:1995/B ГОСТ 7.79-2000/Б mappings
Example ¶
fmt.Println(EncodeToISO9B(source))
Output: Shirokaya e`lektrifikaсiya yuzhny`x gubernij dast moshhny`j tolchok pod``yomu sel`skogo xozyajstva.
func EncodeToPCGN ¶
EncodeToPCGN encodes text with PCGN mappings
Example ¶
fmt.Println(EncodeToPCGN(source))
Output: Shirokaya elektrifikatsiya yuzhnykh guberniy dast moshchnyy tolchok pod″ëmu sel′skogo khozyaystva.
func EncodeToScientific ¶
EncodeToScientific encodes text with scientific mappings
Example ¶
fmt.Println(EncodeToScientific(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.