参考:https://blog.youkuaiyun.com/liu16659/article/details/109691534
最近想做一个NLP的数据增强,于是找到了
EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Tasks
代码地址
https://github.com/jasonwei20/eda_nlp
但是,需要nltk库,我直接
pip install -U nltk
然后按照其方式运行
python code/augment.py --input=<insert input filename>
发现出现了错误,提示我要安装wordnet包