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

Change token.get_tag() to token.get_label() #3135

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

tsproisl
Copy link
Contributor

@tsproisl tsproisl commented Mar 9, 2023

In lemmatizer_model.py, the method token.get_tag() is used which does not seem to exist (any more). Suggested fix: Change to token.get_label().

@alanakbik
Copy link
Collaborator

@tsproisl thanks for fixing this!

@alanakbik alanakbik merged commit 1159f34 into flairNLP:master Mar 10, 2023
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

Successfully merging this pull request may close these issues.

2 participants