HFST - Helsinki Finite-State Transducer Technology API
version 3.7.1
|
The StateId argument is not valid. More...
#include <HfstExceptionDefs.h>
Additional Inherited Members | |
Public Member Functions inherited from HfstException | |
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);