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