Learn R Programming

flashlighttext (version 0.1.0)

LexiconFreeDecoderOptions: LexiconFreeDecoderOptions

Description

LexiconFreeDecoderOptions

LexiconFreeDecoderOptions

Arguments

Value

LexiconFreeDecoderOptions

Active bindings

beam_size

Maximum number of hypothesis we hold after each step

beam_size_token

Maximum number of tokens we consider at each step

beam_threshold

Threshold to prune hypothesis

lm_weight

Weight of lm

sil_score

Silence insertion score

log_add

If or not use logadd when merging hypothesis

criterion_type

a CriterionType: "CTC" or "ASG" (see [CriterionTypes])

ptr

set and get the pointer to a LexiconFreeDecoderOptions instance.

Methods


Method new()

Usage

LexiconFreeDecoderOptions$new(
  beam_size,
  beam_size_token,
  beam_threshold,
  lm_weight,
  sil_score,
  log_add,
  criterion_type
)

Arguments

beam_size

Maximum number of hypothesis we hold after each step

beam_size_token

Maximum number of tokens we consider at each step

beam_threshold

Threshold to prune hypothesis

lm_weight

Weight of lm

sil_score

Silence insertion score

log_add

If or not use logadd when merging hypothesis

criterion_type

a CriterionType: "CTC" or "ASG" (see [CriterionTypes])


Method clone()

The objects of this class are cloneable with this method.

Usage

LexiconFreeDecoderOptions$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.