private static double averageSyllablesPerWord ( String strText ) { int intSyllableCount = totalSyllables ( strText ) ; int intWordCount = wordCount ( strText ) ; return ( intSyllableCount / ( double ) intWordCount ) ; }
Returns average syllables per word for text .