Skip to content
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

Moderation of corpus might be required #6

Closed
surajpadhy opened this issue Jun 13, 2019 · 1 comment
Closed

Moderation of corpus might be required #6

surajpadhy opened this issue Jun 13, 2019 · 1 comment

Comments

@surajpadhy
Copy link

surajpadhy commented Jun 13, 2019

While trying out your code, which was infact very helpful in generating a lot of training data for my model, I found one of the generated sentence to be out of place.

Provided sentence:
5 let me start a task

Output:
5 let me start antiophthalmic factor a task
5 let me start a task
5 lashkar e taiba me start a task
5 let me kickoff a task
5 let task start a me
5 let me start a task
5 let me start a task
5 task me start a let
5 let me start a labor
5 antiophthalmic factor let me start a task
5 let me start a task

Text marked in bold is a terrorist organization. You can find the details in the link below.
https://en.wikipedia.org/wiki/Lashkar-e-Taiba

If possible can you please consider removing that name from synonyms of word "let"
random word for let : lashkar e taiba

Parameters Used:
--num_aug=10 --alpha=0.01

@jasonwei20
Copy link
Owner

It seems like let stands for a terrorist organization, unfortunately. Sorry to hear that, but these synonyms are generated by WordNet, which I do not have control over. The easiest way for you to solve this issue is to add 'let' to the list of stop words. Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants