예제 #1
0
        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);
        }
예제 #2
0
 public void FinalizeAdditions()
 {
     elExamples.FinalizeAdditions();
 }
예제 #3
0
        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;
        }