Extracting evaluation function and coefficients.
Also changed word_state values from list to dict, for better reading.