public HebrewToken(string _word, byte _prefixLength, HSpell.DMask _mask, string _lemma, float _score) : base(_word) { this.PrefixLength = _prefixLength; this.Mask = _mask; if (_lemma == null) this.Lemma = _word.Substring(PrefixLength); // Support null lemmas while still taking into account prefixes else this.Lemma = _lemma; this.Score = _score; }
public HebrewToken(string _word, byte _prefixLength, HSpell.DMask _mask, string _lemma, float _score) : base(_word) { this.PrefixLength = _prefixLength; this.Mask = _mask; if (_lemma == null) { this.Lemma = _word.Substring(PrefixLength); // Support null lemmas while still taking into account prefixes } else { this.Lemma = _lemma; } this.Score = _score; }