Commit 0ca3110
authored
* fix: use StringTokenType for OpenFst 1.8+ compatibility (#359)
* ci: add C++ runtime build workflow
Trigger on runtime/** changes. Builds on ubuntu and macos.
* fix: revert to TokenType for csukuangfj/openfst fork compatibility
The project uses csukuangfj/openfst v1.8.5 which keeps the original
fst::TokenType enum. The previous commit incorrectly renamed it to
StringTokenType (which is used in official OpenFst releases).
* 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 eabb5b9 commit 0ca3110
2 files changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 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