Revert "Split line into word to make gram."

This reverts commit e3f77aae2ad03646efbca9005bc5ddec86933b17.