HFST - Helsinki Finite-State Transducer Technology - C++ API
version 3.9.1
|
The StateId argument is not valid. More...
#include <HfstExceptionDefs.h>
Additional Inherited Members | |
Public Member Functions inherited from HfstException | |
HFSTDLL std::string | operator() (void) const |
Get the error message. More... | |
The StateId argument is not valid.
An example:
HfstBasicTransducer tr; tr.add_state(1); // An exception is thrown as there is no state number 2 float w = tr.get_final_weight(2);