public static double gunningFogScore ( String strText ) { strText = cleanText ( strText ) ; return PHPMethods . round ( ( ( averageWordsPerSentence ( strText ) + percentageWordsWithThreeSyllables ( strText ) ) * 0.4 ) , 1 ) ; }
Returns the Gunning - Fog score of text entered rounded to one digit .