FST  openfst-1.7.0
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
fst::GallicWeight< Label, W, GALLIC > Struct Template Reference

#include <string-weight.h>

Inheritance diagram for fst::GallicWeight< Label, W, GALLIC >:
Inheritance graph
[legend]
Collaboration diagram for fst::GallicWeight< Label, W, GALLIC >:
Collaboration graph
[legend]

Public Types

using GW = GallicWeight< Label, W, GALLIC_RESTRICT >
 
using SW = StringWeight< Label, GallicStringType(GALLIC_RESTRICT)>
 
using SI = StringWeightIterator< SW >
 
using UW = UnionWeight< GW, GallicUnionWeightOptions< Label, W >>
 
using UI = UnionWeightIterator< GW, GallicUnionWeightOptions< Label, W >>
 
using ReverseWeight = GallicWeight< Label, W, GALLIC >
 
- Public Types inherited from fst::UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > >
using Weight = GallicWeight< Label, W, GALLIC_RESTRICT >
 
using Compare = typename GallicUnionWeightOptions< Label, W >::Compare
 
using Merge = typename GallicUnionWeightOptions< Label, W >::Merge
 
using ReverseWeight = UnionWeight< typename GallicWeight< Label, W, GALLIC_RESTRICT >::ReverseWeight, typename GallicUnionWeightOptions< Label, W >::ReverseOptions >
 

Public Member Functions

 GallicWeight ()
 
 GallicWeight (const UW &weight)
 
 GallicWeight (const GW &weight)
 
 GallicWeight (SW w1, W w2)
 
 GallicWeight (const string &str, int *nread=nullptr)
 
GallicWeight< Label, W, GALLICQuantize (float delta=kDelta) const
 
ReverseWeight Reverse () const
 
- Public Member Functions inherited from fst::UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > >
 UnionWeight ()
 
 UnionWeight (GallicWeight< Label, W, GALLIC_RESTRICT >weight)
 
bool Member () const
 
std::istream & Read (std::istream &strm)
 
std::ostream & Write (std::ostream &strm) const
 
size_t Hash () const
 
UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > > Quantize (float delta=kDelta) const
 
ReverseWeight Reverse () const
 
void Clear ()
 
size_t Size () const
 
const GallicWeight< Label, W, GALLIC_RESTRICT > & Back () const
 
void PushBack (GallicWeight< Label, W, GALLIC_RESTRICT >weight, bool srt)
 
void Sort ()
 

Static Public Member Functions

static const GallicWeight< Label, W, GALLIC > & Zero ()
 
static const GallicWeight< Label, W, GALLIC > & One ()
 
static const GallicWeight< Label, W, GALLIC > & NoWeight ()
 
static const string & Type ()
 
- Static Public Member Functions inherited from fst::UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > >
static const UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > > & Zero ()
 
static const UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > > & One ()
 
static const UnionWeight< GallicWeight< Label, W, GALLIC_RESTRICT >, GallicUnionWeightOptions< Label, W > > & NoWeight ()
 
static const string & Type ()
 
static constexpr uint64 Properties ()
 

Detailed Description

template<class Label, class W>
struct fst::GallicWeight< Label, W, GALLIC >

Definition at line 700 of file string-weight.h.

Member Typedef Documentation

template<class Label , class W >
using fst::GallicWeight< Label, W, GALLIC >::GW = GallicWeight<Label, W, GALLIC_RESTRICT>

Definition at line 703 of file string-weight.h.

template<class Label , class W >
using fst::GallicWeight< Label, W, GALLIC >::ReverseWeight = GallicWeight<Label, W, GALLIC>

Definition at line 708 of file string-weight.h.

template<class Label , class W >
using fst::GallicWeight< Label, W, GALLIC >::SI = StringWeightIterator<SW>

Definition at line 705 of file string-weight.h.

template<class Label , class W >
using fst::GallicWeight< Label, W, GALLIC >::SW = StringWeight<Label, GallicStringType(GALLIC_RESTRICT)>

Definition at line 704 of file string-weight.h.

template<class Label , class W >
using fst::GallicWeight< Label, W, GALLIC >::UI = UnionWeightIterator<GW, GallicUnionWeightOptions<Label, W>>

Definition at line 707 of file string-weight.h.

template<class Label , class W >
using fst::GallicWeight< Label, W, GALLIC >::UW = UnionWeight<GW, GallicUnionWeightOptions<Label, W>>

Definition at line 706 of file string-weight.h.

Constructor & Destructor Documentation

template<class Label , class W >
fst::GallicWeight< Label, W, GALLIC >::GallicWeight ( )
inline

Definition at line 712 of file string-weight.h.

template<class Label , class W >
fst::GallicWeight< Label, W, GALLIC >::GallicWeight ( const UW weight)
inline

Definition at line 715 of file string-weight.h.

template<class Label , class W >
fst::GallicWeight< Label, W, GALLIC >::GallicWeight ( const GW weight)
inlineexplicit

Definition at line 720 of file string-weight.h.

template<class Label , class W >
fst::GallicWeight< Label, W, GALLIC >::GallicWeight ( SW  w1,
w2 
)
inline

Definition at line 722 of file string-weight.h.

template<class Label , class W >
fst::GallicWeight< Label, W, GALLIC >::GallicWeight ( const string &  str,
int *  nread = nullptr 
)
inlineexplicit

Definition at line 724 of file string-weight.h.

Member Function Documentation

template<class Label , class W >
static const GallicWeight<Label, W, GALLIC>& fst::GallicWeight< Label, W, GALLIC >::NoWeight ( )
inlinestatic

Definition at line 737 of file string-weight.h.

template<class Label , class W >
static const GallicWeight<Label, W, GALLIC>& fst::GallicWeight< Label, W, GALLIC >::One ( )
inlinestatic

Definition at line 732 of file string-weight.h.

template<class Label , class W >
GallicWeight<Label, W, GALLIC> fst::GallicWeight< Label, W, GALLIC >::Quantize ( float  delta = kDelta) const
inline

Definition at line 747 of file string-weight.h.

template<class Label , class W >
ReverseWeight fst::GallicWeight< Label, W, GALLIC >::Reverse ( ) const
inline

Definition at line 751 of file string-weight.h.

template<class Label , class W >
static const string& fst::GallicWeight< Label, W, GALLIC >::Type ( )
inlinestatic

Definition at line 742 of file string-weight.h.

template<class Label , class W >
static const GallicWeight<Label, W, GALLIC>& fst::GallicWeight< Label, W, GALLIC >::Zero ( )
inlinestatic

Definition at line 727 of file string-weight.h.


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