fixed bug on word2ngrams / sentence2ngrams, now recognizes boundary as a
character.