FST  openfst-1.7.1
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 root, bool epsilon_replace_arc)
 
- Public Member Functions inherited from fst::CacheImplOptions< CacheStore >
 CacheImplOptions (bool gc=FLAGS_fst_default_cache_gc, size_t gc_limit=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 310 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 311 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 329 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 333 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 342 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 344 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 352 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 361 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 365 of file replace.h.

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

Definition at line 368 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 316 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 321 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 323 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 318 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 314 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 327 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 325 of file replace.h.


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