public ParagraphMap(TokenSelector selector, string text, IEnumerable <PotencialSentenceEnd> sentenceEndPositions) { _tokenSelector = selector; Text = text; _sentenceEndPositions = new List <PotencialSentenceEnd>(sentenceEndPositions); _initialPoints = new List <int>(); }
public TextParser(string path) { var tokenSelector = new TokenSelector(path); _paragraphSelector = new ParagraphSelector(tokenSelector); _sentenceSelector = new SentenceSelector(tokenSelector); IsMultiThreaded = true; }
public SentenceSelector(TokenSelector selector) { _tokenSelector = selector; }
public ParagraphSelector(TokenSelector selector) { _tokenSelector = selector; }