Comments (3)
SplitString uses strpbrk, which treats the string as a set of separator characters, such that any of them is treated as a separator. Given it worked with your change (which is to treat spaces only are separators), then separator
is set to a string not containing the space among accepted separators. Check what you pass in SymbolTableTextOptions
to SplitString
(or, if the error is from an fst* binary, what is passed with the --fst_field_separator
switch). By default, both space and tab characters are accepted; this switch is rarely used. I'd hazard a guess the string was somehow set to empty, or maybe to a tab only, but your file has spaces between words and labels.
If this is from command line and you do use the switch, keep in mind that quoting might be tricky in Windows batch files.
FWIW, I do not think Kaldi scripts ever use this switch to fstcompile.
from openfst.
Thanks for the hint. I found that I've committed a careless mistake. Sorry to bother you!
from openfst.
No biggie, you are welcome!
from openfst.
Related Issues (20)
- ERROR: Unknown file read mode when reading VectorFst HOT 6
- Feature request: Publish package on chocolatey HOT 4
- stdout newline conversion of binary data HOT 13
- About the license of this repo HOT 2
- Building openfst and getting 36 errors, Please help me HOT 2
- Build errors on vector-fst.h line 611 when using Visual Studio 14 2015 HOT 3
- Cannot find source file when building from source with Cmake HOT 9
- Error reading Kaldi's GrammarFst HOT 5
- kkm: Bring the upstream up to date HOT 1
- Implement memory-mapped files
- Build ngram and other extensions HOT 4
- Proposed fixes for building with CMake and Clang-cl on Windows with HAVE_BIN=OFF HOT 7
- Access denied: Unable to start the program .../ALL_BUILD HOT 1
- Can't run on windows-xp HOT 1
- Cannot open include file: 'dlfcn.h': No such file or directory HOT 1
- OpenFST 1.8.0 port HOT 2
- Cross compile error when using mingw. HOT 15
- openfst DLL LoadLibrary stuck HOT 1
- Please make a release
- ["-Wno-sign-compare", Wno-unused-local-typedefs] dont work in visual studio compiler
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfst.