information about one single beam at specific time-step
| 10 | |
| 11 | ##### https://github.com/githubharald/CTCDecoder/blob/master/src/BeamSearch.py |
| 12 | class BeamEntry: |
| 13 | "information about one single beam at specific time-step" |
| 14 | def __init__(self): |
| 15 | self.prTotal = 0 # blank and non-blank |
| 16 | self.prNonBlank = 0 # non-blank |
| 17 | self.prBlank = 0 # blank |
| 18 | self.prText = 1 # LM score |
| 19 | self.lmApplied = False # flag if LM was already applied to this beam |
| 20 | self.labeling = () # beam-labeling |
| 21 | |
| 22 | class BeamState: |
| 23 | "information about the beams at specific time-step" |
no outgoing calls
no test coverage detected
searching dependent graphs…