class CWordFrequencyList { ArrayList words = new ArrayList(); ArrayList freq = new ArrayList(); CWordFrequencyList( String t ) { String[] allwords = splitTokens( t, " ,.\n\t?" ); println( "Word count: " + allwords.length ); //words.add( allwords[0] ); for ( int i = 0; i