public void Execute() { var analyzer = new CabochaAnalyzer(); analyzer.Execute(); Assert.IsTrue(analyzer.Sentences.Any()); }
public MainWindow() { InitializeComponent(); //Customize Zoombox a bit //Set minimap (overview) window to be visible by default ZoomControl.SetViewFinderVisibility(ZoomControl, Visibility.Visible); //Set Fill zooming strategy so whole graph will be always visible ZoomControl.ZoomToFill(); _analyzer.Execute(); foreach (var sentence in _analyzer.Sentences) { ListBoxSentence.Items.Add(new SentenceViewModel(sentence).Text); } }