FST
openfst-1.8.2.post1
OpenFst Library
|
#include <string-weight.h>
Public Types | |
using | ReverseWeight = GallicWeight< Label, typename W::ReverseWeight, ReverseGallicType(G)> |
using | SW = StringWeight< Label, GallicStringType(G)> |
![]() | |
using | ReverseWeight = ProductWeight< typename StringWeight< Label, GallicStringType(G)>::ReverseWeight, typename W::ReverseWeight > |
![]() | |
using | ReverseWeight = PairWeight< typename StringWeight< Label, GallicStringType(G)>::ReverseWeight, typename W::ReverseWeight > |
Public Member Functions | |
GallicWeight () | |
GallicWeight (SW w1, W w2) | |
GallicWeight (const std::string &s, int *nread=nullptr) | |
GallicWeight (const ProductWeight< SW, W > &w) | |
GallicWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
![]() | |
ProductWeight () | |
ProductWeight (const PairWeight< StringWeight< Label, GallicStringType(G)>, W > &weight) | |
ProductWeight (StringWeight< Label, GallicStringType(G)>w1, Ww2) | |
ProductWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
![]() | |
PairWeight () | |
PairWeight (StringWeight< Label, GallicStringType(G)>w1, Ww2) | |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
bool | Member () const |
size_t | Hash () const |
PairWeight< StringWeight< Label, GallicStringType(G)>, W > | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
const StringWeight< Label, GallicStringType(G)> & | Value1 () const |
const W & | Value2 () const |
void | SetValue1 (const StringWeight< Label, GallicStringType(G)> &weight) |
void | SetValue2 (const W &weight) |
Static Public Member Functions | |
static const GallicWeight & | Zero () |
static const GallicWeight & | One () |
static const GallicWeight & | NoWeight () |
static const std::string & | Type () |
![]() | |
static const ProductWeight & | Zero () |
static const ProductWeight & | One () |
static const ProductWeight & | NoWeight () |
static const std::string & | Type () |
static constexpr uint64_t | Properties () |
![]() | |
static const PairWeight< StringWeight< Label, GallicStringType(G)>, W > & | Zero () |
static const PairWeight< StringWeight< Label, GallicStringType(G)>, W > & | One () |
static const PairWeight< StringWeight< Label, GallicStringType(G)>, W > & | NoWeight () |
Definition at line 572 of file string-weight.h.
using fst::GallicWeight< Label, W, G >::ReverseWeight = GallicWeight<Label, typename W::ReverseWeight, ReverseGallicType(G)> |
Definition at line 575 of file string-weight.h.
using fst::GallicWeight< Label, W, G >::SW = StringWeight<Label, GallicStringType(G)> |
Definition at line 576 of file string-weight.h.
|
inline |
Definition at line 580 of file string-weight.h.
|
inline |
Definition at line 582 of file string-weight.h.
|
inlineexplicit |
Definition at line 584 of file string-weight.h.
|
inlineexplicit |
Definition at line 587 of file string-weight.h.
|
inlinestatic |
Definition at line 600 of file string-weight.h.
|
inlinestatic |
Definition at line 595 of file string-weight.h.
|
inline |
Definition at line 617 of file string-weight.h.
|
inline |
Definition at line 621 of file string-weight.h.
|
inlinestatic |
Definition at line 605 of file string-weight.h.
|
inlinestatic |
Definition at line 590 of file string-weight.h.