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

Alpino: NameError: name 'time' is not defined #13

Closed
vanboefer opened this issue Nov 22, 2018 · 1 comment
Closed

Alpino: NameError: name 'time' is not defined #13

vanboefer opened this issue Nov 22, 2018 · 1 comment

Comments

@vanboefer
Copy link

I encountered the following error with Alpino:

File vu-rm-pip3/components/python/morphosyntactic_parser_nl/alpinonaf/morph_syn_parser.py", line 247, in call_alpino_local t1 = time.time() NameError: name 'time' is not defined module vua-alpino returned an error

The error seems to be resolved by adding 'import time' to the file in question.

@sarnoult
Copy link
Contributor

The missing import has been added in commit 85b7603 of the Alpino wrapper, and integrated in commit 8f5c523 of this repository.

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