public TextChunk(string text, bool allowFuzzingMatching) { this.Text = text; this.CharacterSpans = StringBreaker.BreakIntoCharacterParts(text); this.SimilarityChecker = allowFuzzingMatching ? new WordSimilarityChecker(text, substringsAreSimilar: false) : null; }
public TextChunk(string text) { this.Text = text; this.CharacterSpans = StringBreaker.BreakIntoCharacterParts(text); }