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: undefined method `[]' for #<Wapiti::NativeError:0x000000000187dab0> #138

Closed
dominic01 opened this issue Feb 22, 2020 · 1 comment
Closed

Comments

@dominic01
Copy link

Ruby ver 2.6.3
Installed Anystyle gem

Just run " anystyle -P x.mod check ./res/parser/gold.xml"

Got the error:
Checking gold.xml.................error: undefined method `[]' for #Wapiti::NativeError:0x000000000187dab0

@inukshuk
Copy link
Owner

Can you reproduce this with the default model?

This is probably because your model does not contain some of the labels used gold.xml -- checking labels which the model does not know exist will cause an error, probably that's what is causing this (sorry for cryptic error message!).

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