Commit f4cb30d
committed
fix: drop explicit TokenType::BYTE for OpenFst compatibility (#359)
Both StringCompiler and StringPrinter default to BYTE mode, so the
argument can be omitted entirely. This avoids the TokenType vs
StringTokenType naming difference between the csukuangfj fork and
official OpenFst releases.1 parent 1abc4bd commit f4cb30d
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | | - | |
25 | | - | |
| 22 | + | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
0 commit comments