class

CrystalMoji::Compile::TokenInfoDictionaryCompilerBase(T)

Inherits CrystalMoji::Compile::Compiler < Reference < Object

Constructors

new(encoding : String)
Source

Instance methods

add_mapping(source_id : Int32, word_id : Int32)
Source
analyze_token_info(input : IO)
Source
buffer_entries
Source
buffer_entries=(buffer_entries : Array(CrystalMoji::Buffer::BufferEntry))
Source
combined_sequential_file_input_stream(dir : String) : IO
Source
compile
Source
dictionary_entries
Source
dictionary_entries=(dictionary_entries : Array(CrystalMoji::Dict::GenericDictionaryEntry) | Nil)
Source
get_csv_files(dir : String) : Array(String)
Source
make_generic_dictionary_entry(entry : T) : CrystalMoji::Dict::GenericDictionaryEntry
Source
other_info
Source
parse(line : String) : T
Source
pos_info
Source
read_token_info(input : IO)
Source
surfaces
Source
surfaces=(surfaces : Array(String))
Source
word_ids_compiler
Source
word_ids_compiler=(word_ids_compiler : CrystalMoji::Compile::WordIdMapCompiler)
Source
write(directory_name : String)
Source