Class Japanese.ModifiedHepburn
The Modified Hepburn Japanese romanization system.
For more information, visit:
https://en.wikipedia.org/wiki/Hepburn_romanization
Inheritance
Implements
Namespace: Romanization
Assembly: Romanization.NET.dll
Syntax
public sealed class ModifiedHepburn : object, IRomanizationSystem
Constructors
| Improve this Doc View SourceModifiedHepburn()
Instantiates a copy of the system to process romanizations.
Declaration
public ModifiedHepburn()
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 Modified Hepburn romanization on the given text.
Note this supports Hiragana and Katakana, but not Kanji.
Due to limits of machine romanization, certain details of the system are left out - namely vowel
combinations, as the rules for combining vowels depend on whether or not the vowels share a
morpheme (something not known to the program).
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. |