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
CrossCategory, OOV, SwapLonger not working for NER Task #34
Comments
Hi, Thanks for your feedback! BeyonderXX |
Hi, The textflint version is the one downloaded in the tutorial: textflint-0.0.5 I attached the input examples I am using, it is the CoNLL 2003 training set. Thank you, Aaron |
Hi there! @agr505 : Because CrossCategory, OOV, and SwapLonger all belong to the swap entity, so we have unified interfaces in the latest version of textflint. You can write the config.json by this:
And specify a specific transformation method in trans_config like this:
For your task, just change config.json to this : config.zip
All the best, EnhydraGod |
Hi,
I was able to use TextFlint to augment the CoNLL2003 training data with the EntTypos and the ConcatSent transformations for the NER task. Thank you very much for providing this. It is presenting an error however when trying to use the other task-specific transformations: CrossCategory, OOV, SwapLonger on the NER Task showing this for each of those transformations:
ValueError: Method CrossCategory is not allowed in task NER
Are these transformations supported?
Best Regards,
Aaron
The text was updated successfully, but these errors were encountered: