Exemplo n.º 1
0
        public string BuildJapaneseWordsReadings()
        {
            WordBuilder         wordBuilder = new WordBuilder(Data);
            List <JapaneseWord> jWords      = wordBuilder.GetJapaneseWords();

            string japaneseWordsReadingText = CollectionStringBuilder.BuildString(jWords.SelectMany(w => w.Readings.Select(r => r)).ToList(), ", ");

            return(japaneseWordsReadingText);
        }
Exemplo n.º 2
0
        public string BuildEnglishWords()
        {
            WordBuilder wordBuilder = new WordBuilder(Data);
            List <Word> eWords      = wordBuilder.GetEnglishWords();

            string englishWordsText = CollectionStringBuilder.BuildString(eWords.Select(w => w.Value).ToList(), ",\t");

            return(englishWordsText);
        }