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

Error in parse_amr_single.sh - stringx.lua:27: argument 1 expected a 'string', got a 'nil' #8

Open
around1991 opened this issue Nov 10, 2017 · 0 comments

Comments

@around1991
Copy link
Contributor

Many thanks for releasing the parser!

I'm trying to run the parser on some sample sentences, and it all works until it produces the following stack trace:

stack traceback:
	[C]: in function 'error'
	...lespace-2/kc391/torch/install/share/lua/5.1/pl/utils.lua:429: in function 'assert_arg'
	...space-2/kc391/torch/install/share/lua/5.1/pl/stringx.lua:27: in function 'assert_string'
	...space-2/kc391/torch/install/share/lua/5.1/pl/stringx.lua:266: in function 'replace'
	evaluate.lua:107: in function 'clean'
	evaluate.lua:91: in function 'parse'
	evaluate.lua:53: in function 'main'
	evaluate.lua:206: in main chunk
	[C]: in function 'dofile'
	...c391/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: at 0x00405d50

Do you know what could be going wrong?

Kris

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

1 participant