Documentation ¶
Index ¶
Constants ¶
View Source
const ( BiasString BiasType = 0 BiasTokens = 1 BiasLitString = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BiasGroup ¶
type BiasGroup struct { YamlPhrases *[]string `json:"-" yaml:"phrases"` Phrases *[]BiasSequences `json:"phrases,omitempty" yaml:"-"` Bias *float64 `json:"bias,omitempty" yaml:"bias"` EnsureSequenceFinish *bool `json:"ensure_sequence_finish,omitempty" yaml:"ensureSequenceFinish"` GenerateOnce *bool `json:"generate_once,omitempty" yaml:"generateOnce"` Enabled *bool `json:"enabled,omitempty" yaml:"enabled"` WhenInactive *bool `json:"whenInactive,omitempty" yaml:"whenInactive"` }
type BiasGroups ¶
type BiasGroups []BiasGroup
func (*BiasGroups) RealizeBiases ¶
func (biasGroups *BiasGroups) RealizeBiases()
type BiasSequences ¶
Click to show internal directories.
Click to hide internal directories.