FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | Public Attributes | List of all members
fst::ReplaceFstOptions< Arc, StateTable, CacheStore > Struct Template Reference

#include <replace.h>

Inheritance diagram for fst::ReplaceFstOptions< Arc, StateTable, CacheStore >:
Inheritance graph
[legend]
Collaboration diagram for fst::ReplaceFstOptions< Arc, StateTable, CacheStore >:
Collaboration graph
[legend]

Public Types

using Label = typename Arc::Label
 

Public Member Functions

 ReplaceFstOptions (const CacheImplOptions< CacheStore > &opts, Label root=kNoLabel)
 
 ReplaceFstOptions (const CacheOptions &opts, Label root=kNoLabel)
 
 ReplaceFstOptions (Label root)
 
 ReplaceFstOptions (Label root, ReplaceLabelType call_label_type, ReplaceLabelType return_label_type, Label return_label)
 
 ReplaceFstOptions (Label root, ReplaceLabelType call_label_type, ReplaceLabelType return_label_type, Label call_output_label, Label return_label)
 
 ReplaceFstOptions (const ReplaceUtilOptions &opts)
 
 ReplaceFstOptions ()
 
 ReplaceFstOptions (int64_t root, bool epsilon_replace_arc)
 
- Public Member Functions inherited from fst::CacheImplOptions< CacheStore >
 CacheImplOptions (bool gc=FST_FLAGS_fst_default_cache_gc, size_t gc_limit=FST_FLAGS_fst_default_cache_gc_limit, CacheStore *store=nullptr)
 
 CacheImplOptions (const CacheOptions &opts)
 

Public Attributes

Label root
 
ReplaceLabelType call_label_type = REPLACE_LABEL_INPUT
 
ReplaceLabelType return_label_type = REPLACE_LABEL_NEITHER
 
Label call_output_label = kNoLabel
 
Label return_label = 0
 
bool take_ownership = false
 
StateTable * state_table = nullptr
 
- Public Attributes inherited from fst::CacheImplOptions< CacheStore >
bool gc
 
size_t gc_limit
 
CacheStore * store
 
bool own_store
 

Detailed Description

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
struct fst::ReplaceFstOptions< Arc, StateTable, CacheStore >

Definition at line 356 of file replace.h.

Member Typedef Documentation

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
using fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::Label = typename Arc::Label

Definition at line 357 of file replace.h.

Constructor & Destructor Documentation

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::ReplaceFstOptions ( const CacheImplOptions< CacheStore > &  opts,
Label  root = kNoLabel 
)
inlineexplicit

Definition at line 375 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::ReplaceFstOptions ( const CacheOptions opts,
Label  root = kNoLabel 
)
inlineexplicit

Definition at line 379 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::ReplaceFstOptions ( Label  root)
inlineexplicit

Definition at line 388 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::ReplaceFstOptions ( Label  root,
ReplaceLabelType  call_label_type,
ReplaceLabelType  return_label_type,
Label  return_label 
)
inlineexplicit

Definition at line 390 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::ReplaceFstOptions ( Label  root,
ReplaceLabelType  call_label_type,
ReplaceLabelType  return_label_type,
Label  call_output_label,
Label  return_label 
)
inlineexplicit

Definition at line 398 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::ReplaceFstOptions ( const ReplaceUtilOptions opts)
inlineexplicit

Definition at line 407 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::ReplaceFstOptions ( )
inline

Definition at line 411 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::ReplaceFstOptions ( int64_t  root,
bool  epsilon_replace_arc 
)
inline

Definition at line 414 of file replace.h.

Member Data Documentation

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
ReplaceLabelType fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::call_label_type = REPLACE_LABEL_INPUT

Definition at line 362 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
Label fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::call_output_label = kNoLabel

Definition at line 367 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
Label fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::return_label = 0

Definition at line 369 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
ReplaceLabelType fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::return_label_type = REPLACE_LABEL_NEITHER

Definition at line 364 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
Label fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::root

Definition at line 360 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
StateTable* fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::state_table = nullptr

Definition at line 373 of file replace.h.

template<class Arc, class StateTable = DefaultReplaceStateTable<Arc>, class CacheStore = DefaultCacheStore<Arc>>
bool fst::ReplaceFstOptions< Arc, StateTable, CacheStore >::take_ownership = false

Definition at line 371 of file replace.h.


The documentation for this struct was generated from the following file: