Search Results for

    Show / Hide Table of Contents

    Class Greek.Ancient.AlaLc

    The ALA-LC (American Library Association and Library of Congress) Greek romanization system.
    Has two separate modes - one for very old Greek (Attic numerals, obelistic full-stops (⁚)), and one for more recent old Greek (Greek numerals, modern-ish punctuation). If you don't know the difference, use the more recent version.
    For more information, visit:
    https://en.wikipedia.org/wiki/Romanization_of_Greek
    and
    https://www.loc.gov/catdir/cpso/romanization/greek.pdf

    Inheritance
    System.Object
    Greek.Ancient.AlaLc
    Implements
    IMultiInOutCultureSystem
    IMultiInCultureSystem
    IMultiOutCultureSystem
    IRomanizationSystem
    Namespace: Romanization
    Assembly: Romanization.NET.dll
    Syntax
    public sealed class AlaLc : object, IMultiInOutCultureSystem, IMultiInCultureSystem, IMultiOutCultureSystem, IRomanizationSystem
    Remarks

    Attic numeral support is somewhat contrived. Check out ProcessNumeralsInText(String, Func<NumeralValue<Greek.Ancient.Units>, String>) for more information.

    Constructors

    | Improve this Doc View Source

    AlaLc(OutputNumeralType, Boolean)

    Instantiates a copy of the system to process romanizations.

    Declaration
    public AlaLc(OutputNumeralType outputNumeralType = OutputNumeralType.Roman, bool veryOld = false)
    Parameters
    Type Name Description
    OutputNumeralType outputNumeralType

    What kind of numeral to romanize to.
    Greek numerals are traditionally romanized to Roman numerals, except for when in official/government documents.

    System.Boolean veryOld

    Whether or not this system should parse as if the text is very old. In very old Greek, a different punctuation system was used and Attic numerals were used instead.

    Fields

    | Improve this Doc View Source

    OutputNumeralType

    Declaration
    public readonly OutputNumeralType OutputNumeralType
    Field Value
    Type Description
    OutputNumeralType
    | Improve this Doc View Source

    VeryOld

    Whether or not this system should parse as if the text is very old. In very old Greek, a different punctuation system was used and Attic numerals were used instead of newer Greek numerals.
    While the use of this should largely depend on the text you intend to use it with, a decent rule-of-thumb is that if Attic numerals are a possibility, this should be true.

    Declaration
    public readonly bool VeryOld
    Field Value
    Type Description
    System.Boolean

    Properties

    | Improve this Doc View Source

    DefaultCulture

    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
    | Improve this Doc View Source

    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 Source

    Process(String)

    Performs ALA-LC Greek romanization on the given 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.

    | Improve this Doc View Source

    Process(String, CultureInfo)

    Performs ALA-LC Greek romanization on the given text.
    Supports providing a specific nativeCulture to process with, as long as the country code is el.

    Declaration
    public string Process(string text, CultureInfo nativeCulture)
    Parameters
    Type Name Description
    System.String text

    The text to romanize.

    CultureInfo nativeCulture

    The culture to romanize from.

    Returns
    Type Description
    System.String

    A romanized version of the text, leaving unrecognized characters untouched.

    Exceptions
    Type Condition
    IrrelevantCultureException

    nativeCulture is irrelevant to the language/region.

    | Improve this Doc View Source

    Process(String, CultureInfo, CultureInfo)

    Performs ALA-LC Greek romanization on the given text.
    Supports providing a specific nativeCulture (as long as the country code is el) to romanize from, and a romanizedCulture to romanize to.

    Declaration
    public string Process(string text, CultureInfo nativeCulture, CultureInfo romanizedCulture)
    Parameters
    Type Name Description
    System.String text

    The text to romanize.

    CultureInfo nativeCulture

    The culture to romanize from.

    CultureInfo romanizedCulture

    The culture to romanize to.

    Returns
    Type Description
    System.String

    A romanized version of the text, leaving unrecognized characters untouched.

    Exceptions
    Type Condition
    IrrelevantCultureException

    nativeCulture is irrelevant to the language/region.

    | Improve this Doc View Source

    ProcessToCulture(String, CultureInfo)

    Performs ALA-LC Greek romanization on the given text.

    Declaration
    public string ProcessToCulture(string text, CultureInfo romanizedCulture)
    Parameters
    Type Name Description
    System.String text

    The text to romanize.

    CultureInfo romanizedCulture

    The culture to romanize to.

    Returns
    Type Description
    System.String

    A romanized version of the text, leaving unrecognized characters untouched.

    Implements

    IMultiInOutCultureSystem
    IMultiInCultureSystem
    IMultiOutCultureSystem
    IRomanizationSystem
    • Improve this Doc
    • View Source
    In This Article
    Back to top Romanization.NET