final YKDocument doc = yoshikoder.getSelectedDocument();
if (doc == null) return;
dworker = new DialogWorker(yoshikoder){
protected void doWork() throws Exception {
TokenizationCache tcache = yoshikoder.getTokenizationCache();
TokenList tl = tcache.getTokenList(doc);
if (tl == null){
tl = TokenizationService.getTokenizationService().tokenize(doc);
tcache.putTokenList(doc, tl);
}
WordFrequencyMap map = new WordFrequencyMap(tl);
DocumentFrequencyReport report =
new DocumentFrequencyReport("Word Frequency Report",