Update enhance_eda.py

This commit is contained in:
yongzhuo 2019-04-13 00:24:32 +08:00 committed by GitHub
parent e838e6d26b
commit 9f1b9225c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# -*- coding: UTF-8 -*-
# !/usr/bin/python
# @time :2019/4/1 10:35
# @author :Mo
# @author :most of zhanlaoban; some of mo(gen some filter). main code is there: https://github.com/zhanlaoban/eda_nlp_for_Chinese
# @function :enhance text by eda, eda is replace, insert, swap, delete
@ -232,4 +232,4 @@ if __name__ == "__main__":
print('输入: ')
sen = input()
syn = eda(sentence=sen)
print(syn)
print(syn)