(s, chars)
| 45 | # TODO: Find a better way to identify prefixes. These depend on the model, so cannot be resolved in ModelWrapper. |
| 46 | |
| 47 | def strip(s, chars): |
| 48 | for c in chars: |
| 49 | s = s.replace(c, "") |
| 50 | return s |
| 51 | |
| 52 | tokens = [[strip(t, strip_chars) for t in x] for x in tokens] |
| 53 |
no outgoing calls