Learn R Programming

flashlighttext (version 0.1.0)

LexiconFreeDecoder: LexiconFreeDecoder

Description

LexiconFreeDecoder

LexiconFreeDecoder

Arguments

Super class

flashlighttext::Decoder -> LexiconFreeDecoder

Methods

Inherited methods


Method new()

Usage

LexiconFreeDecoder$new(
  options,
  lm,
  sil_token_idx,
  blank_token_idx,
  transitions
)

Arguments

options

a options

lm

a lm

sil_token_idx

a sil_token_idx

blank_token_idx

a blank_token_idx

transitions

a transitions

is_lm_token

a is_lm_token

Returns

LexiconFreeDecoder


Method n_hypothesis()

Usage

LexiconFreeDecoder$n_hypothesis()

Returns

int


Method get_lm_ptr()

Usage

LexiconFreeDecoder$get_lm_ptr()

Returns

a externalpointer


Method get_sil_idx()

Usage

LexiconFreeDecoder$get_sil_idx()

Returns

list of DecodeResult


Method get_blank_idx()

Usage

LexiconFreeDecoder$get_blank_idx()

Returns

list of DecodeResult


Method get_options()

Usage

LexiconFreeDecoder$get_options()

Returns

list of DecodeResult


Method get_transitions()

Usage

LexiconFreeDecoder$get_transitions()

Returns

list of DecodeResult


Method clone()

The objects of this class are cloneable with this method.

Usage

LexiconFreeDecoder$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.