public LemmaRule(Latino.BinarySerializer binRead, LemmatizerSettings lsett) { Load(binRead, lsett); }
public Lemmatizer(StreamReader srIn, string sFormat, LemmatizerSettings lsett) : this(lsett) { AddMultextFile(srIn, sFormat); }
public LemmaRule(BinaryReader binRead, LemmatizerSettings lsett) { this.Deserialize(binRead, lsett); }
public LemmaExample(BinaryReader binRead, LemmatizerSettings lsett, LemmaRule lrRule) { Deserialize(binRead, lsett, lrRule); }
public LemmaExample(Latino.BinarySerializer binRead, LemmatizerSettings lsett, LemmaRule lrRule) { Load(binRead, lsett, lrRule); }
public ExampleList(Latino.BinarySerializer binRead, LemmatizerSettings lsett) { Load(binRead, lsett); }
// Constructor(s) & Destructor(s) --------- public LemmaExample(string sWord, string sLemma, double dWeight, string sMsd, RuleList rlRules, LemmatizerSettings lsett) { this.lsett = lsett; this.sWord = sWord; this.sLemma = sLemma; this.sMsd = sMsd; this.dWeight = dWeight; this.lrRule = rlRules.AddRule(this); switch (lsett.eMsdConsider) { case LemmatizerSettings.MsdConsideration.Ignore: case LemmatizerSettings.MsdConsideration.JoinAll: case LemmatizerSettings.MsdConsideration.JoinDistinct: case LemmatizerSettings.MsdConsideration.JoinSameSubstring: sSignature = "[" + sWord + "]==>[" + sLemma + "]"; break; case LemmatizerSettings.MsdConsideration.Distinct: default: sSignature = "[" + sWord + "]==>[" + sLemma + "](" + (sMsd ?? "") + ")"; break; } this.sWordRearCache = null; this.sWordFrontCache = null; this.sLemmaFrontCache = null; }
public ExampleList(BinaryReader binRead, LemmatizerSettings lsett) { Deserialize(binRead, lsett); }
public LemmaTreeNode(Latino.BinarySerializer binRead, LemmatizerSettings lsett, ExampleList elExamples, LemmaTreeNode ltnParentNode) { Load(binRead, lsett, elExamples, ltnParentNode); }
public LemmaTreeNode(BinaryReader binRead, LemmatizerSettings lsett, ExampleList elExamples, LemmaTreeNode ltnParentNode) { Deserialize(binRead, lsett, elExamples, ltnParentNode); }
public LemmaTreeNode(LemmatizerSettings lsett, ExampleList elExamples) : this(lsett, elExamples, 0, elExamples.Count - 1, null) { }
// Constructor(s) & Destructor(s) ------------------- private LemmaTreeNode(LemmatizerSettings lsett) { this.lsett = lsett; }