/**************************************************************************/

        public MacroscopeAnalyzeReadabilityFleschKincaid()
        {
            this.SuppressDebugMsg = true;

            this.Type = MacroscopeAnalyzeReadability.AnalyzeReadabilityMethod.FLESCH_KINCAID;

            this.Grade = 0;
        }
Example #2
0
        /**************************************************************************/

        public MacroscopeAnalyzeReadabilitySmog()
        {
            this.SuppressDebugMsg = true;

            this.Type = MacroscopeAnalyzeReadability.AnalyzeReadabilityMethod.SMOG;

            this.Grade = 0;
        }
        /**************************************************************************/

        public static string FormatAnalyzeReadabilityMethod(
            MacroscopeAnalyzeReadability.AnalyzeReadabilityMethod ReadabilityMethod
            )
        {
            string Formatted = "Unknown";

            switch (ReadabilityMethod)
            {
            case MacroscopeAnalyzeReadability.AnalyzeReadabilityMethod.FLESCH_KINCAID:
                Formatted = "Flesch-Kincaid Reading Ease";
                break;

            case MacroscopeAnalyzeReadability.AnalyzeReadabilityMethod.SMOG:
                Formatted = "SMOG Index";
                break;

            default:
                break;
            }

            return(Formatted);
        }