Exemple #1
0
 /// <param name="title">Identifies the sample</param>
 /// <param name="changeIdentifier">Identifies the change made to the text</param>
 /// <param name="text">The sample</param>
 public Sample(string title, string changeIdentifier, string text)
 {
     _statistics = stats.TextStatistics.Parse(text);
     Title       = title;
     Text        = text;
     Variant     = changeIdentifier;
 }
Exemple #2
0
 public double Evaluate(string text)
 {
     _formula = ts.TextStatistics.Parse(text);
     return(_formula.GunningFogScore());
 }