def tag_trans_add(self, *args): """ tag_trans_add(FsgModel self, int32 src, int32 dst, int32 logp, int32 wid) -> int32 Add a "tag" transition between the given states. A "tag" transition is a null transition with a non-null word ID, which corresponds to a semantic tag or other symbol to be output when this transition is taken. As above, there can be at most one null or tag transition between the given states; duplicates are flagged and only the best prob retained. Transition probs must be <= 1 (i.e., logprob <= 0). 1 if a new transition was added, 0 if the prob of an existing transition was upgraded; -1 if nothing was changed. """ return _sphinxbase.FsgModel_tag_trans_add(self, *args)
def tag_trans_add(self, src, dst, logp, wid): """tag_trans_add(FsgModel self, int src, int dst, int logp, int wid) -> int""" return _sphinxbase.FsgModel_tag_trans_add(self, src, dst, logp, wid)
def tag_trans_add(self, *args): """tag_trans_add(FsgModel self, int32 src, int32 dst, int32 logp, int32 wid) -> int32""" return _sphinxbase.FsgModel_tag_trans_add(self, *args)