String yHome = YooreekaConfigurator.getHome();

NewsDataset ds = new FileListNewsDataset("NewsDataset");
ds.setDocumentDir(yHome+"/data/ch07/all");
ds.setTopTerms(25);
ds.setUserAndRatingsFilename(yHome+"/data/ch07/ratings/ratings.txt");
ds.init();

StoryRecommender delphi = new StoryRecommender(ds);
delphi.calculateRecommendations();

delphi.recommendStories("1");