class

CrystalMoji::Buffer::TokenInfoBuffer

Inherits Reference < Object

Constructors

new(input : IO)
Source

Instance methods

lookup_entry(offset : Int32) : BufferEntry

查找并返回指定偏移量的完整词条信息

Source
lookup_feature(offset : Int32, i : Int32) : Int32

查找特征

Source
lookup_part_of_speech_feature(offset : Int32, i : Int32) : Int32

查找词性特征

Source
lookup_token_info(offset : Int32, i : Int32) : Int32

查找特定词条信息

Source
part_of_speech_feature?(i : Int32) : Bool

检查是否为词性特征

Source