#include <determinize-star-inl.h>

Classes | |
| class | VectorEqual |
| class | VectorKey |
Public Types | |
| typedef unordered_map< const std::vector< Label > *, StringId, VectorKey, VectorEqual > | MapType |
Public Member Functions | |
| StringId | IdOfEmpty () |
| StringId | IdOfLabel (Label l) |
| StringId | IdOfSeq (const std::vector< Label > &v) |
| bool | IsEmptyString (StringId id) |
| void | SeqOfId (StringId id, std::vector< Label > *v) |
| StringId | RemovePrefix (StringId id, size_t prefix_len) |
| StringRepository () | |
| void | Destroy () |
| ~StringRepository () | |
Private Member Functions | |
| KALDI_DISALLOW_COPY_AND_ASSIGN (StringRepository) | |
| StringId | IdOfSeqInternal (const std::vector< Label > &v) |
Private Attributes | |
| std::vector< std::vector< Label > *> | vec_ |
| MapType | map_ |
| StringId | string_end |
| StringId | no_symbol |
| StringId | single_symbol_start |
| StringId | single_symbol_range |
Static Private Attributes | |
| static const StringId | string_start = (StringId) 0 |
Definition at line 38 of file determinize-star-inl.h.
| typedef unordered_map<const std::vector<Label>*, StringId, VectorKey, VectorEqual> MapType |
Definition at line 65 of file determinize-star-inl.h.
|
inline |
Definition at line 111 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::no_symbol, StringRepository< Label, StringId >::single_symbol_range, StringRepository< Label, StringId >::single_symbol_start, and StringRepository< Label, StringId >::string_end.
|
inline |
Definition at line 127 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::Destroy(), and StringRepository< Label, StringId >::KALDI_DISALLOW_COPY_AND_ASSIGN().
|
inline |
Definition at line 119 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::map_, and StringRepository< Label, StringId >::vec_.
Referenced by StringRepository< Label, StringId >::~StringRepository().
|
inline |
Definition at line 67 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::no_symbol.
Referenced by fst::TestFactor(), and fst::TestStringRepository().
|
inline |
Definition at line 69 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::IdOfSeqInternal(), StringRepository< Label, StringId >::single_symbol_range, and StringRepository< Label, StringId >::single_symbol_start.
Referenced by StringRepository< Label, StringId >::IdOfSeq(), fst::TestFactor(), and fst::TestStringRepository().
|
inline |
Definition at line 79 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::IdOfLabel(), StringRepository< Label, StringId >::IdOfSeqInternal(), and StringRepository< Label, StringId >::no_symbol.
Referenced by StringRepository< Label, StringId >::RemovePrefix(), fst::TestFactor(), and fst::TestStringRepository().
|
inlineprivate |
Definition at line 134 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::map_, StringRepository< Label, StringId >::string_end, and StringRepository< Label, StringId >::vec_.
Referenced by StringRepository< Label, StringId >::IdOfLabel(), and StringRepository< Label, StringId >::IdOfSeq().
|
inline |
Definition at line 86 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::no_symbol.
|
private |
|
inline |
Definition at line 98 of file determinize-star-inl.h.
References rnnlm::i, StringRepository< Label, StringId >::IdOfSeq(), and StringRepository< Label, StringId >::SeqOfId().
Referenced by fst::TestFactor(), and fst::TestStringRepository().
|
inline |
Definition at line 89 of file determinize-star-inl.h.
References StringRepository< Label, StringId >::no_symbol, StringRepository< Label, StringId >::single_symbol_start, and StringRepository< Label, StringId >::vec_.
Referenced by StringRepository< Label, StringId >::RemovePrefix(), fst::TestFactor(), and fst::TestStringRepository().
|
private |
Definition at line 149 of file determinize-star-inl.h.
Referenced by StringRepository< Label, StringId >::Destroy(), and StringRepository< Label, StringId >::IdOfSeqInternal().
|
private |
Definition at line 153 of file determinize-star-inl.h.
Referenced by StringRepository< Label, StringId >::IdOfEmpty(), StringRepository< Label, StringId >::IdOfSeq(), StringRepository< Label, StringId >::IsEmptyString(), StringRepository< Label, StringId >::SeqOfId(), and StringRepository< Label, StringId >::StringRepository().
|
private |
Definition at line 155 of file determinize-star-inl.h.
Referenced by StringRepository< Label, StringId >::IdOfLabel(), and StringRepository< Label, StringId >::StringRepository().
|
private |
Definition at line 154 of file determinize-star-inl.h.
Referenced by StringRepository< Label, StringId >::IdOfLabel(), StringRepository< Label, StringId >::SeqOfId(), and StringRepository< Label, StringId >::StringRepository().
|
private |
Definition at line 152 of file determinize-star-inl.h.
Referenced by StringRepository< Label, StringId >::IdOfSeqInternal(), and StringRepository< Label, StringId >::StringRepository().
|
staticprivate |
Definition at line 151 of file determinize-star-inl.h.
|
private |
Definition at line 148 of file determinize-star-inl.h.
Referenced by StringRepository< Label, StringId >::Destroy(), StringRepository< Label, StringId >::IdOfSeqInternal(), and StringRepository< Label, StringId >::SeqOfId().