Search Results for

    Show / Hide Table of Contents

    Interface INumeralParsingSystem

    Not actual romanization. This is a system exclusively for parsing other numeral systems (Greek numerals, for instance).

    Namespace: Romanization
    Assembly: Romanization.NET.dll
    Syntax
    public interface INumeralParsingSystem

    Methods

    | Improve this Doc View Source

    Process(String)

    The system-specific function that determines the numeric value of a numeral using the system.

    Declaration
    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 text, with a unit if one could be found.

    | Improve this Doc View Source

    ProcessNumeralsInText(String, Func<NumeralValue, String>)

    Processes the given text, parsing any numerals with Process(String) then replacing them with the result of numeralProcessor run on their values.

    Declaration
    string ProcessNumeralsInText(string text, Func<NumeralValue, string> numeralProcessor)
    Parameters
    Type Name Description
    System.String text

    The text to process.

    Func<NumeralValue, System.String> numeralProcessor

    The function that converts parsed numeric value into a string.

    Returns
    Type Description
    System.String

    A new copy of text with all numerals found within replaced.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Romanization.NET