/.*/Attack(
  (search_method): BeamSearch(
    (beam_width):  10
  )
  (goal_function):  UntargetedClassification
  (transformation):  WordSwapGradientBased(
    (top_n):  1
  )
  (constraints): 
    (0): MaxWordsPerturbed(
        (max_num_words):  2
        (compare_against_original):  True
      )
    (1): WordEmbeddingDistance(
        (embedding):  WordEmbedding
        (min_cos_sim):  0.8
        (cased):  False
        (include_unknown_words):  True
        (compare_against_original):  True
      )
    (2): PartOfSpeech(
        (tagger_type):  nltk
        (tagset):  universal
        (allow_verb_noun_swap):  True
        (compare_against_original):  True
      )
    (3): RepeatModification
    (4): StopwordModification
  (is_black_box):  False
) 
/.*/
--------------------------------------------- Result 1 ---------------------------------------------
[92mPositive (96%)[0m --> [91mNegative (77%)[0m

the story gives ample opportunity for large-scale action and suspense , which director shekhar kapur [92msupplies[0m with tremendous skill .

the story gives ample opportunity for large-scale action and suspense , which director shekhar kapur [91mstagnated[0m with tremendous skill .


--------------------------------------------- Result 2 ---------------------------------------------
[91mNegative (57%)[0m --> [37m[SKIPPED][0m

red dragon " never cuts corners .


--------------------------------------------- Result 3 ---------------------------------------------
[92mPositive (51%)[0m --> [91m[FAILED][0m

fresnadillo has something serious to say about the ways in which extravagant chance can distort our perspective and throw us off the path of good sense .


--------------------------------------------- Result 4 ---------------------------------------------
[92mPositive (89%)[0m --> [91m[FAILED][0m

throws in enough clever and unexpected twists to make the formula feel fresh .



+-------------------------------+--------+
| Attack Results                |        |
+-------------------------------+--------+
| Number of successful attacks: | 1      |
| Number of failed attacks:     | 2      |
| Number of skipped attacks:    | 1      |
| Original accuracy:            | 75.0%  |
| Accuracy under attack:        | 50.0%  |
| Attack success rate:          | 33.33% |
| Average perturbed word %:     | 5.56%  |
| Average num. words per input: | 15.5   |
| Avg num queries:              | 1.33   |
+-------------------------------+--------+
