private static double averageWordsPerSentence ( String strText ) { int intSentenceCount = sentenceCount ( strText ) ; int intWordCount = wordCount ( strText ) ; return ( intWordCount / ( double ) intSentenceCount ) ; }
Returns average words per sentence for text .