FST
openfst-1.8.3
OpenFst Library
|
#include <string-weight.h>
Public Types | |
using | Label = L |
using | ReverseWeight = StringWeight< Label, ReverseStringType(S)> |
using | Iterator = StringWeightIterator< StringWeight > |
using | ReverseIterator = StringWeightReverseIterator< StringWeight > |
Public Member Functions | |
StringWeight ()=default | |
template<typename Iterator > | |
StringWeight (const Iterator begin, const Iterator end) | |
StringWeight (Label label) | |
bool | Member () const |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
size_t | Hash () const |
StringWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
void | Clear () |
size_t | Size () const |
void | PushFront (Label label) |
void | PushBack (Label label) |
Static Public Member Functions | |
static const StringWeight & | Zero () |
static const StringWeight & | One () |
static const StringWeight & | NoWeight () |
static const std::string & | Type () |
static constexpr uint64_t | Properties () |
Friends | |
class | StringWeightIterator< StringWeight > |
class | StringWeightReverseIterator< StringWeight > |
Definition at line 66 of file string-weight.h.
using fst::StringWeight< L, S >::Iterator = StringWeightIterator<StringWeight> |
Definition at line 70 of file string-weight.h.
using fst::StringWeight< L, S >::Label = L |
Definition at line 68 of file string-weight.h.
using fst::StringWeight< L, S >::ReverseIterator = StringWeightReverseIterator<StringWeight> |
Definition at line 71 of file string-weight.h.
using fst::StringWeight< L, S >::ReverseWeight = StringWeight<Label, ReverseStringType(S)> |
Definition at line 69 of file string-weight.h.
|
default |
|
inline |
Definition at line 79 of file string-weight.h.
|
inlineexplicit |
Definition at line 83 of file string-weight.h.
|
inline |
Definition at line 134 of file string-weight.h.
|
inline |
Definition at line 279 of file string-weight.h.
|
inline |
Definition at line 263 of file string-weight.h.
|
inlinestatic |
Definition at line 95 of file string-weight.h.
|
inlinestatic |
Definition at line 90 of file string-weight.h.
|
inlinestatic |
Definition at line 120 of file string-weight.h.
|
inline |
Definition at line 146 of file string-weight.h.
|
inline |
Definition at line 141 of file string-weight.h.
|
inline |
Definition at line 116 of file string-weight.h.
|
inline |
Definition at line 240 of file string-weight.h.
|
inline |
Definition at line 270 of file string-weight.h.
|
inline |
Definition at line 139 of file string-weight.h.
|
inlinestatic |
Definition at line 100 of file string-weight.h.
|
inline |
Definition at line 253 of file string-weight.h.
|
inlinestatic |
Definition at line 85 of file string-weight.h.
|
friend |
Definition at line 73 of file string-weight.h.
|
friend |
Definition at line 74 of file string-weight.h.