Class: Rjb::Rjb_JavaProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/kuromoji/core.rb

Instance Method Summary collapse

Instance Method Details

#to_kuromoji_hashObject



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/kuromoji/core.rb', line 5

def to_kuromoji_hash
  result = {}
  result['parts_of_speech'] = part_of_speech
  result['reading'] = getReading
  result['base_form'] = base_form
  result['surface_form'] = surface_form
  result['position'] = position
  result['is_known'] = isKnown
  result['is_user'] = isUser
  result
end