/// <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; }
public double Evaluate(string text) { _formula = ts.TextStatistics.Parse(text); return(_formula.GunningFogScore()); }