Can't get this to work, not sure if it's a UTF8 issue or what.
require 'ffi/hunspell'
c= FFI::Hunspell.dict('ru_RU')
p c.stem("рассчитывал") #-> []
command line using hunspell binary:
textmining|master⚡ ⇒ echo рассчитывал | hunspell -d ru_RU -s
рассчитывал рассчитывать
Can't get this to work, not sure if it's a UTF8 issue or what.
require 'ffi/hunspell'
c= FFI::Hunspell.dict('ru_RU')
p c.stem("рассчитывал") #-> []
command line using hunspell binary:
textmining|master⚡ ⇒ echo рассчитывал | hunspell -d ru_RU -s
рассчитывал рассчитывать