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

Which are the current models? #32

Open
jbuck167 opened this issue Sep 30, 2016 · 1 comment
Open

Which are the current models? #32

jbuck167 opened this issue Sep 30, 2016 · 1 comment

Comments

@jbuck167
Copy link

New install from master, all files and scripts seem fine. I am trying to run run_parser.sh and parser.sh

For parser.sh, when I run echo "I solved the problem with statistics." | ./scripts/parse.sh I get

./scripts/parse.sh: /Desktop/TurboParser-master/scripts/tokenizer.sed: /bin/sed: bad interpreter: No such file or directory
F0930 10:31:34.335568 1994416128 Pipe.cpp:60] Check failed: fs Could not open model file for reading: /Desktop/TurboParser-master/models/english_proj/english_proj_tagger.model
*** Check failure stack trace: ***
/Desktop/TurboParser-master/scripts/run_tagger.sh: line 26: 39249 Abort trap: 6           ${path_bin}/TurboTagger --test --file_model=${file_model} --file_test=${file_test} --file_prediction=${file_prediction}
F0930 10:31:34.882947 1994416128 Pipe.cpp:60] Check failed: fs Could not open model file for reading: /Desktop/TurboParser-master/models/english_proj/english_proj_parser_pruned-true_model-standard.model
*** Check failure stack trace: ***
    @     0x7fff61f1aac5  (unknown)
    @        0x109c3b4a6  _ZN3fLS13FLAGS_vmoduleB5cxx11E
    @        0x109c27098  google::IdentifierIsAnonymousNamespace()::anon_prefix
/Desktop/TurboParser-master/scripts/run_parser.sh: line 33: 39260 Abort trap: 6           ${path_bin}/TurboParser --test --evaluate --file_model=${file_model} --file_test=${file_test} --file_prediction=${file_prediction}
cat: /Desktop/TurboParser-master/scripts/tmp/tmp.conll.predpos.pred: No such file or directory

I have been unable to find "english_proj_tagger.model" available for download.

so I tried using the four english models found linked on http://www.cs.cmu.edu/~ark/TurboParser/, but all four of them returned something like this:

F0930 10:41:09.816437 1994416128 SequencePipe.cpp:53] Check failed: model_check == kSequenceModelCheck (2882429599847869868 vs. 1234567890) The model file is too old and not supported anymore.
*** Check failure stack trace: ***

Is there a way to tell what version the models are and what versions the parser currently supports? Where are the current models available for download? I see in a closed issue a link to http://www.ark.cs.cmu.edu/TurboParser/sample_models/english_proj_parser.tar.gz. I am currently downloading this to try.

If http://www.cs.cmu.edu/~ark/TurboParser/sample_models/ does have the current models, can that be made more evident at http://www.cs.cmu.edu/~ark/TurboParser/?

@jbuck167
Copy link
Author

It seems that the new model files are working, but the parse.sh script is now breaking at
./scripts/parse.sh: /Desktop/TurboParser-master/scripts/tokenizer.sed: /bin/sed: bad interpreter: No such file or directory

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