hailo
HEAD
Hailo
CLI
Expression
Learn
Cache
LinkCounts
Lists
Markov
Parse
Progress
Reply
Server
LearnAndReplyRequest
LearnRequest
ReplyRequest
Response
Store
Token
Probability
Spacing
State
TokenId
struct
Hailo::Token
Hailo::Token
Struct
Value
Object
Defined in:
hailo/token.cr
Constructors
.new
(text, spacing =
Spacing
::
Normal
)
Instance Method Summary
#inspect
(io) : Nil
#similar_tokens
: Array(Token)
#spacing
: Spacing
#text
: String
Constructor Detail
def self.
new
(text, spacing =
Spacing
::
Normal
)
#
[
View source
]
Instance Method Detail
def
inspect
(io) : Nil
#
[
View source
]
def
similar_tokens
: Array(
Token
)
#
[
View source
]
def
spacing
:
Spacing
#
[
View source
]
def
text
: String
#
[
View source
]