示例#1
0
 public Phoneme(Phoneme phonemeLeft, Phoneme phonemeRight, LanguageSet languages)
     : this(phonemeLeft.phonemeText, languages)
 {
     this.phonemeText.Append(phonemeRight.phonemeText);
 }
示例#2
0
 public Phoneme(Phoneme phonemeLeft, Phoneme phonemeRight)
     : this(phonemeLeft.phonemeText, phonemeLeft.languages)
 {
     this.phonemeText.Append(phonemeRight.phonemeText);
 }
示例#3
0
 private PhonemeBuilder(Phoneme phoneme)
 {
     this.phonemes = new JCG.LinkedHashSet <Phoneme>();
     this.phonemes.Add(phoneme);
 }
示例#4
0
 public Phoneme Join(Phoneme right)
 {
     return(new Phoneme(this.phonemeText.ToString() + right.phonemeText.ToString(),
                        this.languages.RestrictTo(right.Languages)));
 }
示例#5
0
 private PhonemeBuilder(Phoneme phoneme)
 {
     // LUCENENET NOTE: LinkedHashSet cares about insertion order - in .NET, we can just use List<T> for that
     this.phonemes = new List <Phoneme>();
     this.phonemes.Add(phoneme);
 }