Fix unexpected eol in ngram parser