public class pinyin private shared a() as string = {"a", "ā", "á", "ǎ", "à"} private shared o() as string = {"o", "ō", "ó", "ǒ", "ò"} private shared e() as string = {"e", "ē", "é", "ě", "è"} private shared i() as string = {"i", "ī", "í", "ǐ", "ì"} private shared u() as string = {"u", "ū", "ú", "ǔ", "ù"} private shared v() as string = {"ü", "ǖ", "ǘ", "ǚ", "ǜ"}
'是否強制轉換:如果為真,即將標明聲調的數字前的韻母根據標明聲調的數字轉換為相應的聲調 '如果為假,即根據拼音規則轉換 private shared miscompelled as boolean = false public shared property iscompelled() as boolean get return miscompelled end get set(byval value as boolean) miscompelled = value end set end property public shared pylist as new system.collections.sortedlist()