buruzaemon / natto-py

natto-py combines the Python programming language with MeCab, the part-of-speech and morphological analyzer for the Japanese language.
BSD 2-Clause "Simplified" License
92 stars 13 forks source link

Unexpected whitespace inserted in Wakati mode #114

Closed himkt closed 4 years ago

himkt commented 4 years ago

I suspect that this bug is introduced in #111, sorry...

import natto

print(natto.__version__)
nm = natto.MeCab('-Owakati')
print(nm.parse('この星の1等賞になりたいの、俺はっ!')[-1])
0.9.1
 # <- whitespace!!
buruzaemon commented 4 years ago

Ah, I apologize! Looking into this.

buruzaemon commented 4 years ago

This will be soon resolved with the 0.9.2 release. Happy New Year!