Change word frequency from integer to float so it isn't always 0