예제 #1
0
 /// <summary>
 /// Instantiates a copy of the system to process romanizations.
 /// </summary>
 public HanyuPinyin()
 {
     CsvLoader.LoadCharacterMap(HanyuPinyinFileName, HanyuPinyinReadings, k => k, v => v.Split(' '));
     CsvLoader.LoadCharacterMap(HanyuPinluFileName, HanyuPinluReadings, k => k, v => v.Split(' '));
     CsvLoader.LoadCharacterMap(XhcFileName, XhcReadings, k => k, v => v.Split(' '));
 }
예제 #2
0
 /// <summary>
 /// Instantiates a copy of the system to process romanizations.
 /// </summary>
 public HanjaReadings()
 {
     CsvLoader.LoadCharacterMap(HangeulFileName, HangeulReadings, k => k, v => v.Split(' ').Select(c => c[0]).ToArray());
 }
예제 #3
0
 /// <summary>
 /// Instantiates a copy of the system to process romanizations.
 /// </summary>
 public KanjiReadings()
 {
     CsvLoader.LoadCharacterMap(KanjiKunFileName, KanjiKunReadings, k => k, v => v.Split(' '));
     CsvLoader.LoadCharacterMap(KanjiOnFileName, KanjiOnReadings, k => k, v => v.Split(' '));
 }