======================
Substitutes API
======================



Abstract Classes
------------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.WordSubstitute
    :members: __call__

.. autoclass:: OpenAttack.attack_assist.substitute.char.CharSubstitute
    :members: __call__

-------------------------------------------------------------------------------


EmbedBasedSubstitute
----------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.EmbedBasedSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

ChineseHowNetSubstitute
-------------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.ChineseHowNetSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

ChineseWord2VecSubstitute
---------------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.ChineseWord2VecSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

ChineseWordNetSubstitute
--------------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.ChineseWordNetSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

CounterFittedSubstitute
-------------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.CounterFittedSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

ChineseCiLinSubstitute
------------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.ChineseCiLinSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

GloveSubstitute
-----------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.GloveSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

HowNetSubstitute
------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.HowNetSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

Word2VecSubstitute
--------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.Word2VecSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

WordNetSubstitute
-------------------

.. autoclass:: OpenAttack.attack_assist.substitute.word.WordNetSubstitute(OpenAttack.attack_assist.substitute.word.WordSubstitute)
    :members: __init__

ChineseFYHCharSubstitute
--------------------------

.. autoclass:: OpenAttack.attack_assist.substitute.char.ChineseFYHCharSubstitute(OpenAttack.attack_assist.substitute.char.CharSubstitute)
    :members: __init__

ChineseSimCharSubstitute
--------------------------

.. autoclass:: OpenAttack.attack_assist.substitute.char.ChineseSimCharSubstitute(OpenAttack.attack_assist.substitute.char.CharSubstitute)
    :members: __init__

DCESSubstitute
----------------

.. autoclass:: OpenAttack.attack_assist.substitute.char.DCESSubstitute(OpenAttack.attack_assist.substitute.char.CharSubstitute)
    :members: __init__

ECESSubstitute
----------------

.. autoclass:: OpenAttack.attack_assist.substitute.char.ECESSubstitute(OpenAttack.attack_assist.substitute.char.CharSubstitute)
    :members: __init__

