#include <julius.h>
Include dependency graph for dfa_decode.c:
Go to the source code of this file.
Functions | |
int | dfa_firstwords (NEXTWORD **nw, int peseqlen, int maxnw, DFA_INFO *dfa) |
int | dfa_nextwords (NODE *hypo, NEXTWORD **nw, int maxnw, DFA_INFO *dfa) |
boolean | dfa_acceptable (NODE *hypo, DFA_INFO *dfa) |
boolean | dfa_look_around (NEXTWORD *nword, NODE *hypo, BACKTRELLIS *bt) |
In Julian, the location where a (short) pause can be inserted should be explicitly specified by grammar, just like other words. Since user does not always place pause at the specified place, the decoder have to consider the skipping of such short pause word for the next word prediction.
If a short pause word is contained in the set of next word candidates, word set next to the short pause word is further included in the word candidates. Whether short pause was actually inserted or not in the user input will be determined by score in search_bestfirst_main.c.
In Julian mode, dfa_firstwords(), dfa_nextwords(), dfa_acceptable() and dfa_eosscore() are called from main search function wchmm_fbs(). When Julius mode, on the other hand, the corresponding functions in ngram_decode.c will be used instead.
Definition in file dfa_decode.c.
|
Return initial word set from grammar.
Definition at line 86 of file dfa_decode.c. Referenced by wchmm_fbs(). |
|
Given a part-of-sentence hypothesis, returns the next word set defined by DFA grammar.
Definition at line 144 of file dfa_decode.c. Referenced by wchmm_fbs(). |
|
Return whether the hypothesis is currently on final state
Definition at line 201 of file dfa_decode.c. Referenced by wchmm_fbs(). |
|
Check if the given nextword exists in the word trellis around the estimated connection time. If exist, set the pointer to the corresponding trellis word to the nextword. Since the best connection time will be re-computed later, it need not to be an optimal one.
Definition at line 242 of file dfa_decode.c. Referenced by wchmm_fbs(). |