incorporate spaces into frequency

Spaces are inferred from the "position" data in the ngrams table,
assuming every word is preceded and followed by a space.