#include "EST_simplestats.h"#include "EST_rw_status.h"#include "EST_Option.h"#include "EST_TList.h"#include "EST_TVector.h"#include "EST_THash.h"#include "siod.h"

Go to the source code of this file.
Classes | |
| class | EST_WFST_Transition |
| an internal class for EST_WFST for representing transitions in an WFST More... | |
| class | EST_WFST_State |
| an internal class for EST_WFST used to represent a state in a WFST More... | |
| class | EST_WFST_MultiState |
| an internal class to EST_WFST used in holding multi-states when determinizing and find the intersections of other WFSTs. More... | |
| class | EST_WFST |
| a call representing a weighted finite-state transducer More... | |
Macros | |
| #define | wfst_error_msg(WMESS) (std::cerr << WMESS << std::endl,siod_error()) |
| #define | WFST_ERROR_STATE -1 |
| #define | WFST_FINAL 0 |
| #define | WFST_NONFINAL 1 |
| #define | WFST_ERROR 2 |
| #define | WFST_LICENCE 3 |
Typedefs | |
| typedef EST_TList< EST_WFST_Transition * > | wfst_translist |
| typedef EST_TVector< EST_WFST_State * > | wfst_state_vector |
| typedef EST_TStringHash< int > | EST_WFST_MultiStateIndex |
| typedef EST_TList< EST_WFST > | wfst_list |
Enumerations | |
| enum | wfst_state_type { wfst_final, wfst_nonfinal, wfst_error, wfst_licence } |
| enum | wfst_mstate_type { wfst_ms_set, wfst_ms_list } |
| #define wfst_error_msg | ( | WMESS | ) | (std::cerr << WMESS << std::endl,siod_error()) |
Definition at line 50 of file EST_WFST.h.
| #define WFST_ERROR_STATE -1 |
Definition at line 52 of file EST_WFST.h.
| #define WFST_FINAL 0 |
I'd like to use the enums but I need to binary read/write them I don't believe that's portable so we need to have ints for these
Definition at line 88 of file EST_WFST.h.
| #define WFST_NONFINAL 1 |
Definition at line 89 of file EST_WFST.h.
| #define WFST_ERROR 2 |
Definition at line 90 of file EST_WFST.h.
| #define WFST_LICENCE 3 |
Definition at line 91 of file EST_WFST.h.
| typedef EST_TList<EST_WFST_Transition *> wfst_translist |
Definition at line 83 of file EST_WFST.h.
| typedef EST_TVector<EST_WFST_State *> wfst_state_vector |
Definition at line 121 of file EST_WFST.h.
| typedef EST_TStringHash<int> EST_WFST_MultiStateIndex |
Definition at line 123 of file EST_WFST.h.
Definition at line 371 of file EST_WFST.h.
| enum wfst_state_type |
| Enumerator | |
|---|---|
| wfst_final | |
| wfst_nonfinal | |
| wfst_error | |
| wfst_licence | |
Definition at line 85 of file EST_WFST.h.
| enum wfst_mstate_type |
| Enumerator | |
|---|---|
| wfst_ms_set | |
| wfst_ms_list | |
Definition at line 124 of file EST_WFST.h.
| int multistate_index | ( | EST_WFST_MultiStateIndex & | i, |
| EST_WFST_MultiState * | ms | ||
| ) |
Definition at line 370 of file kkcompile.cc.
| void kkcompile | ( | LISP | ruleset, |
| EST_WFST & | all_wfst | ||
| ) |
Definition at line 72 of file kkcompile.cc.
| void ltscompile | ( | LISP | lts_rules, |
| EST_WFST & | all_wfst | ||
| ) |
Definition at line 63 of file ltscompile.cc.
| void rgcompile | ( | LISP | rg, |
| EST_WFST & | all_wfst | ||
| ) |
Definition at line 58 of file rgcompile.cc.
| void tlcompile | ( | LISP | rg, |
| EST_WFST & | all_wfst | ||
| ) |
Definition at line 57 of file tlcompile.cc.
| int transduce | ( | const EST_WFST & | wfst, |
| const EST_StrList & | in, | ||
| EST_StrList & | out | ||
| ) |
Definition at line 77 of file wfst_transduce.cc.
Definition at line 95 of file wfst_transduce.cc.
| int recognize | ( | const EST_WFST & | wfst, |
| const EST_StrList & | in, | ||
| int | quiet | ||
| ) |
Definition at line 182 of file wfst_transduce.cc.
Definition at line 211 of file wfst_transduce.cc.
| int recognize_for_perplexity | ( | const EST_WFST & | wfst, |
| const EST_StrList & | in, | ||
| int | quiet, | ||
| float & | count, | ||
| float & | sumlogp | ||
| ) |
Definition at line 246 of file wfst_transduce.cc.