public void Setup() { PosTagger = new NaivePOSTagger(new BNCList(), WordTypeResolver.Instance); var inquirer = new InquirerManager(); inquirer.Load(); StyleFactory = new StyleFactory(PosTagger, new NRCDictionary(), new FrequencyListManager(), inquirer); var factory = new SentenceTokenizerFactory(PosTagger, new RawWordExtractor(new BasicEnglishDictionary(), new MemoryCache(new MemoryCacheOptions()))); Extraction = new SimpleWordsExtraction(factory.Create(true, false)); }
public void Setup() { PosTagger = new NaivePOSTagger(new BNCList(), WordTypeResolver.Instance); Raw = new RawWordExtractor(new BasicEnglishDictionary(), new MemoryCache(new MemoryCacheOptions())); Factory = new SentenceTokenizerFactory(PosTagger, Raw); }