public Phoneme(Phoneme phonemeLeft, Phoneme phonemeRight, LanguageSet languages) : this(phonemeLeft.phonemeText, languages) { this.phonemeText.Append(phonemeRight.phonemeText); }
public Phoneme(Phoneme phonemeLeft, Phoneme phonemeRight) : this(phonemeLeft.phonemeText, phonemeLeft.languages) { this.phonemeText.Append(phonemeRight.phonemeText); }
private PhonemeBuilder(Phoneme phoneme) { this.phonemes = new JCG.LinkedHashSet <Phoneme>(); this.phonemes.Add(phoneme); }
public Phoneme Join(Phoneme right) { return(new Phoneme(this.phonemeText.ToString() + right.phonemeText.ToString(), this.languages.RestrictTo(right.Languages))); }
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); }