-
Notifications
You must be signed in to change notification settings - Fork 270
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
add function for pos tag with transformers #857
Conversation
Hello @MpolaarbearM! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2023-11-05 07:37:06 UTC |
@MpolaarbearM Can you fix pep8 and delete ptagger_temp4XcDf.json file? |
@wannaphong yes I'll try and fix that |
…lp into postag_transformers
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 💯
What does this changes
Add function to pos tagging using transformers in pos_tag.py. The function have 3 model which can be switch base on the name on the engine. Have test all engine on test_tag.py and there is no error. Also test assertRaise error value when the engine name does not match any of the engines name.
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.