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

a major shift to rst files generated by sphinx-apidoc

major docstring clean up / plus reorganize the folder structure under docs
This commit is contained in:
Yanjun Qi
2020-10-25 20:21:43 -04:00
parent fc7d5294d9
commit 2ea690bbc6
171 changed files with 1042 additions and 852 deletions

View File

@@ -1,4 +1,5 @@
"""TextAttack builds attacks from four components:
"""
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.