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