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

#include <replace.h>

Public Types

using Label = typename Arc::Label
 

Public Member Functions

 PdtReplaceOptions (Label root, PdtParserType type=PdtParserType::LEFT, Label start_paren_labels=kNoLabel, std::string left_paren_prefix="(_", std::string right_paren_prefix=")_")
 

Public Attributes

Label root
 
PdtParserType type
 
Label start_paren_labels
 
const std::string left_paren_prefix
 
const std::string right_paren_prefix
 

Detailed Description

template<class Arc>
struct fst::PdtReplaceOptions< Arc >

Definition at line 91 of file replace.h.

Member Typedef Documentation

template<class Arc>
using fst::PdtReplaceOptions< Arc >::Label = typename Arc::Label

Definition at line 92 of file replace.h.

Constructor & Destructor Documentation

template<class Arc>
fst::PdtReplaceOptions< Arc >::PdtReplaceOptions ( Label  root,
PdtParserType  type = PdtParserType::LEFT,
Label  start_paren_labels = kNoLabel,
std::string  left_paren_prefix = "(_",
std::string  right_paren_prefix = ")_" 
)
inlineexplicit

Definition at line 94 of file replace.h.

Member Data Documentation

template<class Arc>
const std::string fst::PdtReplaceOptions< Arc >::left_paren_prefix

Definition at line 108 of file replace.h.

template<class Arc>
const std::string fst::PdtReplaceOptions< Arc >::right_paren_prefix

Definition at line 109 of file replace.h.

template<class Arc>
Label fst::PdtReplaceOptions< Arc >::root

Definition at line 105 of file replace.h.

template<class Arc>
Label fst::PdtReplaceOptions< Arc >::start_paren_labels

Definition at line 107 of file replace.h.

template<class Arc>
PdtParserType fst::PdtReplaceOptions< Arc >::type

Definition at line 106 of file replace.h.


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