1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

clean up the docstring of each module and module content section

This commit is contained in:
Yanjun Qi
2020-10-25 23:15:07 -04:00
parent 95603fb73c
commit 23d0de6b43
172 changed files with 630 additions and 129 deletions

View File

@@ -1,5 +1,6 @@
"""
Attack: TextAttack builds attacks from four components:
========================================================
- `Goal Functions <../attacks/goal_function.html>`__ stipulate the goal of the attack, like to change the prediction score of a classification model, or to change all of the words in a translation output.
- `Constraints <../attacks/constraint.html>`__ determine if a potential perturbation is valid with respect to the original input.