Class Greek.Ancient.GreekNumerals
Greek numerals were introduced around 3rd century BCE, replacing Attic numerals.
They are still used today very occassionally.
For more information, visit:
https://en.wikipedia.org/wiki/Greek_numerals
Inheritance
System.Object
Greek.Ancient.GreekNumerals
Implements
Namespace: Romanization
Assembly: Romanization.NET.dll
Syntax
public sealed class GreekNumerals : object, INumeralParsingSystem
Constructors
| Improve this Doc View SourceGreekNumerals()
Instantiates a copy of the system to process romanizations.
Declaration
public GreekNumerals()
Methods
| Improve this Doc View SourceProcess(String)
Parses the numeric value of a Greek numeral.
Declaration
public NumeralValue Process(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The numeral text to parse. |
Returns
Type | Description |
---|---|
NumeralValue | A numeric value representing the value of |
ProcessNumeralsInText(String, Func<NumeralValue, String>)
Processes all Greek numerals in the text.
Declaration
public string ProcessNumeralsInText(string text, Func<NumeralValue, string> numeralProcessor)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to search for numerals. |
Func<NumeralValue, System.String> | numeralProcessor | The function to use to transform the value from Process(String) into a string to put in the text. |
Returns
Type | Description |
---|---|
System.String |