Class Korean.RevisedRomanization
The Revised Romanization of Korean system.
For more information, visit:
https://en.wikipedia.org/wiki/Revised_Romanization_of_Korean
Inheritance
Implements
Namespace: Romanization
Assembly: Romanization.NET.dll
Syntax
public sealed class RevisedRomanization : object, IRomanizationSystem
Constructors
| Improve this Doc View SourceRevisedRomanization()
Instantiates a copy of the system to process romanizations.
Declaration
public RevisedRomanization()
Fields
| Improve this Doc View SourceHyphenateSyllables
Whether to insert a hyphen ('-') between syllables in non-required
spots. This can help to distinguish between ambiguous words: 가을 -> ga-eul
(fall; autumn) vs.
개울
-> gae-ul (stream).
Declaration
public readonly bool HyphenateSyllables
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
| Improve this Doc View SourceType
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 romanization on the given text, according to the Revised Romanization of Korean system.
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. Note that all romanized text will be lowercase. |
Process(String, Boolean, Boolean, Boolean)
Performs romanization on the given text, according to the Revised Romanization of Korean system.
Declaration
public string Process(string text, bool givenName, bool noun = false, bool hyphenateSyllables = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to romanize. |
System.Boolean | givenName | Whether or not the text to romanize is a given name, since Korean names are often romanized without consideration for special Jamo combinations. |
System.Boolean | noun | Whether or not the text to romanize is a noun, since there is a distinction between whether or not aspiration is reflected based on nouns. |
System.Boolean | hyphenateSyllables | Whether to insert a hyphen ('-') between syllables in non-required
spots. This can help to distinguish between ambiguous words: |
Returns
Type | Description |
---|---|
System.String | A romanized version of the text, leaving unrecognized characters untouched. Note that all romanized text will be lowercase. |