(step_result)
| 215 | hypotheses = collections.defaultdict(list) |
| 216 | |
| 217 | def _callback(step_result): |
| 218 | assert step_result.batch_id == 0 |
| 219 | hypotheses[step_result.hypothesis_id].append(step_result.token) |
| 220 | |
| 221 | source = ["آ", "ت", "ز", "م", "و", "ن"] |
| 222 | translator = _get_transliterator() |