Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
NLP::LanguageGeneration::Template
Inherits
Struct
<
Value
<
Object
Represents a template for generating text
Constructors
new
(pattern :
String
, slots :
Array
(
String
) = [] of
String
)
Source
Instance methods
fill
(values :
Hash
(
String
,
String
)) :
String
Source
pattern
Source
slots
Source