add beam if it does not yet exist
(beamState, labeling)
| 67 | childBeam.lmApplied = True # only apply LM once per beam entry |
| 68 | |
| 69 | def addBeam(beamState, labeling): |
| 70 | "add beam if it does not yet exist" |
| 71 | if labeling not in beamState.entries: |
| 72 | beamState.entries[labeling] = BeamEntry() |
| 73 | |
| 74 | def ctcBeamSearch(mat, classes, ignore_idx, lm, beamWidth=25, dict_list = []): |
| 75 | "beam search as described by the paper of Hwang et al. and the paper of Graves et al." |
no test coverage detected
searching dependent graphs…