public ExampleList GetFrontRearExampleList(bool front) { ExampleList elExamplesNew = new ExampleList(lsett); foreach (LemmaExample le in this.ListExamples) { if (front) { elExamplesNew.AddExample(le.WordFront, le.LemmaFront, le.Weight, le.Msd); } else { elExamplesNew.AddExample(le.WordRear, le.LemmaRear, le.Weight, le.Msd); } } elExamplesNew.FinalizeAdditions(); return(elExamplesNew); }
public void FinalizeAdditions() { elExamples.FinalizeAdditions(); }
public ExampleList GetFrontRearExampleList(bool front) { ExampleList elExamplesNew = new ExampleList(lsett); foreach (LemmaExample le in this.ListExamples) { if (front) elExamplesNew.AddExample(le.WordFront, le.LemmaFront, le.Weight, le.Msd); else elExamplesNew.AddExample(le.WordRear, le.LemmaRear, le.Weight, le.Msd); } elExamplesNew.FinalizeAdditions(); return elExamplesNew; }