Cambridge SMT System
|
Implements Tropical Sparse tuple weight semiring, extending from openfst SparsePowerWeight class. More...
#include <tropical-sparse-tuple-weight.h>
Inherits SparsePowerWeight< TropicalWeightTpl< T > >, and SparsePowerWeight< TropicalWeightTpl< T > >.
Public Types | |
typedef TropicalWeightTpl< T > | W |
typedef TropicalSparseTupleWeight< T > | ReverseWeight |
typedef TropicalWeightTpl< T > | W |
typedef TropicalSparseTupleWeight< T > | ReverseWeight |
Public Member Functions | |
TropicalSparseTupleWeight () | |
TropicalSparseTupleWeight (const SparsePowerWeight< W > &sw) | |
TropicalSparseTupleWeight (W w) | |
TropicalSparseTupleWeight< T > | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
TropicalSparseTupleWeight () | |
TropicalSparseTupleWeight (const SparsePowerWeight< W > &sw) | |
TropicalSparseTupleWeight (W w) | |
TropicalSparseTupleWeight< T > | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
Static Public Member Functions | |
static std::vector< T > & | Params () |
static std::string | GetPrecisionString () |
static const std::string & | Type () |
static uint64 | Properties () |
static const TropicalSparseTupleWeight< T > & | Zero () |
static const TropicalSparseTupleWeight< T > & | One () |
static std::vector< T > & | Params () |
static std::string | GetPrecisionString () |
static const std::string & | Type () |
static uint64 | Properties () |
static const TropicalSparseTupleWeight< T > & | Zero () |
static const TropicalSparseTupleWeight< T > & | One () |
Friends | |
template<typename TT > | |
TropicalSparseTupleWeight< TT > | Plus (const TropicalSparseTupleWeight< TT > &, const TropicalSparseTupleWeight< TT > &) |
template<typename TT > | |
TropicalSparseTupleWeight< TT > | Plus (const TropicalSparseTupleWeight< TT > &, const TropicalSparseTupleWeight< TT > &) |
Implements Tropical Sparse tuple weight semiring, extending from openfst SparsePowerWeight class.
Definition at line 35 of file fsttools/include/tropical-sparse-tuple-weight.h.
typedef TropicalSparseTupleWeight<T> fst::TropicalSparseTupleWeight< T >::ReverseWeight |
Definition at line 41 of file latmert/include/tropical-sparse-tuple-weight.h.
typedef TropicalSparseTupleWeight<T> fst::TropicalSparseTupleWeight< T >::ReverseWeight |
Definition at line 54 of file fsttools/include/tropical-sparse-tuple-weight.h.
typedef TropicalWeightTpl<T> fst::TropicalSparseTupleWeight< T >::W |
Definition at line 32 of file latmert/include/tropical-sparse-tuple-weight.h.
typedef TropicalWeightTpl<T> fst::TropicalSparseTupleWeight< T >::W |
Definition at line 45 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 56 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 61 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 65 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 43 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 48 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 52 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 56 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 69 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 84 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 97 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 27 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 40 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 73 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 86 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 89 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 102 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 95 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inline |
Definition at line 108 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 67 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 80 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 79 of file latmert/include/tropical-sparse-tuple-weight.h.
|
inlinestatic |
Definition at line 92 of file fsttools/include/tropical-sparse-tuple-weight.h.
|
friend |
|
friend |