Update enhance_eda.py
This commit is contained in:
parent
e838e6d26b
commit
9f1b9225c8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user