Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoder giving error '-' used multiple times for input. #3

Open
ronilp opened this issue Aug 19, 2016 · 4 comments
Open

Decoder giving error '-' used multiple times for input. #3

ronilp opened this issue Aug 19, 2016 · 4 comments

Comments

@ronilp
Copy link

ronilp commented Aug 19, 2016

There seems to be an error with this line -

command = "%slattice-tool -in-lattice - -read-mesh -posterior-decode -zeroprob-word blemish -use-server %s " % (LATTICE_TOOL_DIR, NGRAM_SERVER_IP)

@wanghm92
Copy link

wanghm92 commented Oct 19, 2016

Hello! I'm facing similar problem, where the decoder error output is always '-'. Please refer to Issue#4 for details. May I ask whether your problem has been solved? Thanks!

@ronilp
Copy link
Author

ronilp commented Oct 19, 2016

No, I am still facing the issue. Please let me know if you are able to solve this.

@wanghm92
Copy link

wanghm92 commented Oct 19, 2016

Cost me a whole day... Use 1.5.12/1.6.0 version of SRILM will do.

@ygorg
Copy link

ygorg commented Jun 8, 2017

The problem might be in SRILM >1.6.0 in srilm/lattice/src/lattice-tool.cc the file is opened twice which is in case of stdin not possible (cf. processLattice function).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants