buruzaemon / natto

A Tasty Ruby Binding with MeCab
BSD 2-Clause "Simplified" License
143 stars 16 forks source link

Enable support for partial parsing #32

Closed buruzaemon closed 9 years ago

buruzaemon commented 9 years ago

While the -p- / --partial option is listed in lib/natto/option_parse.rb, build_options_str does not support it correct.

Right now, it will output --partial=true, when it should simply be --partial.

buruzaemon commented 9 years ago

Only discovered this when doing a deep dive into how MeCab handles whitespace chars at the end boundary of a token during boundary constraint parsing.

buruzaemon commented 9 years ago

Completed and resolved, these changes will be in 0.9.9 release.