ts-package-starter - v1.3.0
    Preparing search index...

    Interface WadeGilesSegment

    Represents a single segment of the conversion result.

    interface WadeGilesSegment {
        alternatives?: string[];
        original: string;
        pinyin: string;
        tone?: number;
        wadeGiles: string;
    }
    Index

    Properties

    alternatives?: string[]

    Alternative Wade-Giles readings for polyphones (when polyphoneMode is 'all').

    original: string

    The original Chinese character(s).

    pinyin: string

    The pinyin representation.

    tone?: number

    The tone number (1-5), if applicable.

    wadeGiles: string

    The Wade-Giles romanization.