public NumberExtractor( IDecoratedNumberParser decoratedNumberParser, Regex titleBlackRegex, Regex blackParagraphRegex, IEnumerable <IPostprocessor> postprocessors) { _decoratedNumberParser = decoratedNumberParser; _titleBlackRegex = titleBlackRegex; _blackParagraphRegex = blackParagraphRegex; _postprocessors = postprocessors; }
public NumberExtractor(IDecoratedNumberParser decoratedNumberParser) { _decoratedNumberParser = decoratedNumberParser; _postprocessors = new List <IPostprocessor> { new ChoiceQuestionPostprocessor(), new QuestionScorePostprocessor(), new RemoveArticleNumberPostprocessor(), new RemoveCommentNumberPostprocessor(), new SelectiveQuestionPostprocessor(), }; }