|
Cambridge SMT System
|


Go to the source code of this file.
Classes | |
| class | fst::TropicalSparseTupleWeight< T > |
| Implements Tropical Sparse tuple weight semiring, extending from openfst SparsePowerWeight class. More... | |
| struct | fst::AE< T, TropicalSparseTupleWeight< T > > |
| struct | fst::GeneralMapper< FromArc, ToArc, M > |
| struct | fst::StdToTropicalSparseMapper< W > |
| struct | fst::Expand |
| struct | fst::DotProductMap< T > |
| Map functor used with generic weight mapper. More... | |
| struct | fst::VectorToStd< T > |
| Functor to convert sparse tuple weight to tropical (single weight) More... | |
| struct | fst::StdToVector< T > |
| Functor that converts tropical to sparse tuple weight. More... | |
Namespaces | |
| fst | |
Typedefs | |
| typedef GeneralMapper< ArcTpl< TropicalSparseTupleWeight< float > >, ArcTpl< TropicalSparseTupleWeight< double > >, Expand > | fst::ExpandMapper |
| typedef fst::GeneralMapper< fst::ArcTpl< fst::TropicalSparseTupleWeight< float > >, fst::ArcTpl< fst::TropicalWeightTpl< float > >, fst::VectorToStd< float > > | SparseToStdMapper |
| typedef fst::GeneralMapper< fst::ArcTpl< fst::TropicalWeightTpl< float > >, fst::ArcTpl< fst::TropicalSparseTupleWeight< float > >, fst::StdToVector< float > > | StdToSparseMapper |
Functions | |
| template<typename T > | |
| T | fst::DotProduct (const TropicalSparseTupleWeight< T > &w, const std::vector< T > &vw) |
| Implements Dot product of two vector weights. More... | |
| template<class T > | |
| TropicalSparseTupleWeight< T > | fst::Plus (const TropicalSparseTupleWeight< T > &vw1, const TropicalSparseTupleWeight< T > &vw2) |
| template<typename T > | |
| bool | fst::ApproxEqual (const TropicalSparseTupleWeight< T > &vw1, const TropicalSparseTupleWeight< T > &vw2, float delta=kDelta) |
| template<class T > | |
| TropicalSparseTupleWeight< T > | fst::Times (const TropicalSparseTupleWeight< T > &w1, const TropicalSparseTupleWeight< T > &w2) |
| template<class T > | |
| TropicalSparseTupleWeight< T > | fst::Divide (const TropicalSparseTupleWeight< T > &w1, const TropicalSparseTupleWeight< T > &w2, DivideType type=DIVIDE_ANY) |
| typedef fst::GeneralMapper<fst::ArcTpl<fst::TropicalSparseTupleWeight<float> >, fst::ArcTpl<fst::TropicalWeightTpl<float> >, fst::VectorToStd<float> > SparseToStdMapper |
Definition at line 311 of file latmert/include/tropical-sparse-tuple-weight.h.
| typedef fst::GeneralMapper<fst::ArcTpl<fst::TropicalWeightTpl<float> >, fst::ArcTpl<fst::TropicalSparseTupleWeight<float> >, fst::StdToVector<float> > StdToSparseMapper |
Definition at line 315 of file latmert/include/tropical-sparse-tuple-weight.h.