public void Segment(Variety variety) { _busyService.ShowBusyIndicatorUntilFinishDrawing(); var pipeline = new Pipeline <Variety>(GetSegmentProcessors()); pipeline.Process(variety.ToEnumerable()); }
public void Stem(StemmingMethod method, Variety variety) { _busyService.ShowBusyIndicatorUntilFinishDrawing(); if (method == StemmingMethod.Automatic) { variety.Affixes.Clear(); } var pipeline = new Pipeline <Variety>(GetStemProcessors(method)); pipeline.Process(variety.ToEnumerable()); Messenger.Default.Send(new DomainModelChangedMessage(true)); }
public void Segment(Variety variety) { var pipeline = new Pipeline <Variety>(GetSegmentProcessors()); pipeline.Process(variety.ToEnumerable()); }