You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
lydianish
changed the title
ReplaceSpelling sets the random seed for each word rather than for each sentencereplace_spelling (SpellingTransformation) sets the random seed for each word rather than for each sentence
Jul 26, 2023
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
for
loop).The text was updated successfully, but these errors were encountered: