GEM-benchmark/NL-Augmenter

`replace_spelling` (`SpellingTransformation`) sets the random seed for each word rather than for each sentence

lydianish opened this issue · 0 comments

Setting the random seed for each word leads to jumpy behavior, like the sentence not being transformed at all. The random seed should be set for the whole sentence (outside of the forloop).