fix a bug double wordScore=0.,change float to double