private bool SearchRawJapInput(string inputWord) { List <JmdictEntity> rawSearchResults = TokensDictSearcher.FindJapNonToken(inputWord, japEngDictionary); if (rawSearchResults != null && rawSearchResults.Count > 0) { ShowRawResults(rawSearchResults); return(true); } return(false); }
private void ShowSearchResults(WordInformation currentSelectedWord) { searchResults = TokensDictSearcher.SearchTokenWord(currentSelectedWord, wordGridViewModel.CurrentSelectedIndex, tokenizer.Words, japEngDictionary); pageControl.ChangeNumberOfItem(searchResults.Count); }