Class Russian.Gost7792000B
The GOST 7.79-2000(B) romanization system of Russian.
This is System B of the GOST 7.79-2000 system with 1 Cyrillic to potentially many Latin chars, without diacritics.
For more information, visit:
https://en.wikipedia.org/wiki/GOST_7.79-2000
Inheritance
Namespace: Romanization
Assembly: Romanization.NET.dll
Syntax
public sealed class Gost7792000B : object, IMultiInCultureSystem, IRomanizationSystem
Constructors
| Improve this Doc View SourceGost7792000B()
Instantiates a copy of the system to process romanizations.
Declaration
public Gost7792000B()
Properties
| Improve this Doc View SourceDefaultCulture
The default culture this system will go with for romanization if Process(String) is used.
Declaration
public CultureInfo DefaultCulture { get; }
Property Value
Type | Description |
---|---|
CultureInfo |
Type
The type of the system - this is an important consideration depending on the purpose of romanizing the text.
For more information, visit:
https://en.wikipedia.org/wiki/Romanization#Methods
Declaration
public SystemType Type { get; }
Property Value
Type | Description |
---|---|
SystemType |
Methods
| Improve this Doc View SourceProcess(String)
Performs GOST 7.79-2000(B) romanization on Russian text.
Declaration
public string Process(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to romanize. |
Returns
Type | Description |
---|---|
System.String | A romanized version of the text, leaving unrecognized characters untouched. |
Process(String, CultureInfo)
Performs GOST 7.79-2000(B) romanization on Russian text.
Supports providing a specific nativeCulture
to process with, as long as the country code is ru
.
Declaration
public string Process(string text, CultureInfo nativeCulture)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to romanize. |
CultureInfo | nativeCulture | The culture to use. |
Returns
Type | Description |
---|---|
System.String | A romanized version of the text, leaving unrecognized characters untouched. |
Exceptions
Type | Condition |
---|---|
IrrelevantCultureException |
|