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

Cannot get the code work #7

Open
liqing-ustc opened this issue Mar 4, 2018 · 1 comment
Open

Cannot get the code work #7

liqing-ustc opened this issue Mar 4, 2018 · 1 comment

Comments

@liqing-ustc
Copy link

I just try the code, but I get the error as:
image

What is the problem?

@EggplantElf
Copy link

Hi, i'm also having the same problem, the command was:

./bin/ZGen_SR learn --model tmp.mdl --type full --reference data/example.ref --input data/example.ref

and the error was:

2019-06-25 17:22:55 [warning] parseopt: postag dict is specified.
2019-06-25 17:22:55 [info]
2019-06-25 17:22:55 [info] ZGen::shift-reduce linearizer << LEARN >> 0.2.0
2019-06-25 17:22:55 [info] -----------------------------------------------
2019-06-25 17:22:55 [info] Experiment 22-3.1 - All feat with S0 lookahead feat
2019-06-25 17:22:55 [warning] Pipe: ngram model doesn't exist.
2019-06-25 17:22:55 [warning] Pipe: model doesn't exist.
2019-06-25 17:22:55 [info] loading cost 0.00036 seconds
2019-06-25 17:22:55 [info] ioutils: Opening file stream from data/example.ref.
[1] 2796064 segmentation fault (core dumped) ./bin/ZGen_SR learn --model tmp.mdl --type full --reference data/example.ref

Both input and reference are the same file with one sentence as in the README, i tried both tab and space as delimiter, got the same error.

_Ms.Haag NP 1 N
plays VBZ -1 N
Elianti NP 1 N
. . 1 N

Could you please check what's the problem, or upload a minimal example data and command?
Thanks!

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

2 participants