class

CrystalMoji::Dict::TokenInfoDictionary

Inherits CrystalMoji::Dict::Dictionary < Reference < Object

Constructors

new_instance(resolver : CrystalMoji::Util::ResourceResolver) : TokenInfoDictionary
Source

Class methods

feature_map_filename
Source
feature_map_filename=(feature_map_filename : String)
Source
pos_map_filename
Source
pos_map_filename=(pos_map_filename : String)
Source
targetmap_filename
Source
targetmap_filename=(targetmap_filename : String)
Source
token_info_dictionary_filename
Source
token_info_dictionary_filename=(token_info_dictionary_filename : String)
Source

Instance methods

get_all_features(word_id : Int32) : String
Source
get_all_features_array(word_id : Int32) : Array(String)
Source
get_feature(word_id : Int32, *fields : Int32) : String
Source
get_left_id(word_id : Int32) : Int32
Source
get_right_id(word_id : Int32) : Int32
Source
get_word_cost(word_id : Int32) : Int32
Source
lookup_word_ids(source_id : Int32) : Array(Int32)
Source