public static void ProcessCorpus(string corpusPath, Regex filePattern, CorpusProcessor processor) { List <CorpusProcessor> processors = new List <CorpusProcessor>(); processors.Add(processor); ProcessCorpus(corpusPath, filePattern, processors); }
public static void ProcessCorpus(string corpusPath, CorpusProcessor processor) { ProcessCorpus(corpusPath, new Regex(".*"), processor); }