Added word-boundary functionality to evaluation.

Fixed typo in sentence2ngrams.