void function ( String [ ] arg0 ) { if ( arg0 != null ) { outputStateNames = HashBiMap . create ( ) ; for ( int loc0 = 0 ; loc0 < arg0 . length ; ++ loc0 ) { outputStateNames . put ( arg0 [ loc0 ] , loc0 ) ; } } }
register an array of hidden state names . we assume that the state name at position i has the id i concode_field_sep Vector initialProbabilities concode_elem_sep BiMap<String,Integer> hiddenStateNames concode_elem_sep int nrOfHiddenStates concode_elem_sep int nrOfOutputStates concode_elem_sep BiMap<String,Integer> outputStateNames concode_elem_sep Matrix emissionMatrix concode_elem_sep Matrix transitionMatrix concode_field_sep Map<String,Integer> getOutputStateNames concode_elem_sep Vector getInitialProbabilities concode_elem_sep int getOutputStateID concode_elem_sep String getOutputStateName concode_elem_sep void registerHiddenStateNames concode_elem_sep void registerHiddenStateNames concode_elem_sep String getHiddenStateName concode_elem_sep int getNrOfOutputStates concode_elem_sep int getHiddenStateID concode_elem_sep void initRandomParameters concode_elem_sep Matrix getEmissionMatrix concode_elem_sep HmmModel clone concode_elem_sep Map<String,Integer> getHiddenStateNames concode_elem_sep int getNrOfHiddenStates concode_elem_sep Matrix getTransitionMatrix concode_elem_sep void assign