@@ -292,11 +292,11 @@ <h2>Characters removal<a class="headerlink" href="#characters-removal" title="Pe
292
292
< tbody valign ="top ">
293
293
< tr class ="field-odd field "> < th class ="field-name "> Parameters:</ th > < td class ="field-body "> < ul class ="first last simple ">
294
294
< li > < strong > words_percentage</ strong > – Percentage of words in a
295
- sentence that should be transformed. Nevertheless, always at
296
- least single word should be transformed. .</ li >
295
+ sentence that should be transformed. If greater than 0,
296
+ always at least single word will be transformed.</ li >
297
297
< li > < strong > characters_percentage</ strong > – Percentage of characters in a
298
- word that should be transformed. Nevertheless, always at
299
- least single character should be removed .</ li >
298
+ word that should be transformed. If greater than 0
299
+ always at least single character will be transformed .</ li >
300
300
< li > < strong > char</ strong > – If specified only that character will be randomly removed.
301
301
The specified character can also be a white space.</ li >
302
302
< li > < strong > seed</ strong > – Random seed.</ li >
@@ -459,7 +459,7 @@ <h2>QWERTY<a class="headerlink" href="#qwerty" title="Permalink to this headline
459
459
< dt id ="wildnlp.aspects.qwerty.QWERTY ">
460
460
< em class ="property "> class </ em > < code class ="descclassname "> wildnlp.aspects.qwerty.</ code > < code class ="descname "> QWERTY</ code > < span class ="sig-paren "> (</ span > < em > words_percentage=1</ em > , < em > characters_percentage=10</ em > , < em > seed=42</ em > < span class ="sig-paren "> )</ span > < a class ="reference internal " href ="_modules/wildnlp/aspects/qwerty.html#QWERTY "> < span class ="viewcode-link "> [source]</ span > </ a > < a class ="headerlink " href ="#wildnlp.aspects.qwerty.QWERTY " title ="Permalink to this definition "> ¶</ a > </ dt >
461
461
< dd > < p > Bases: < a class ="reference internal " href ="#wildnlp.aspects.base.Aspect " title ="wildnlp.aspects.base.Aspect "> < code class ="xref py py-class docutils literal notranslate "> < span class ="pre "> wildnlp.aspects.base.Aspect</ span > </ code > </ a > </ p >
462
- < p > Simualtes errors made while writing on a QWERTY-type keyboard.
462
+ < p > Simulates errors made while writing on a QWERTY-type keyboard.
463
463
Characters are swapped with their neighbors on the keyboard.</ p >
464
464
< div class ="admonition caution ">
465
465
< p class ="first admonition-title "> Caution</ p >
@@ -474,11 +474,11 @@ <h2>QWERTY<a class="headerlink" href="#qwerty" title="Permalink to this headline
474
474
< tbody valign ="top ">
475
475
< tr class ="field-odd field "> < th class ="field-name "> Parameters:</ th > < td class ="field-body "> < ul class ="first last simple ">
476
476
< li > < strong > words_percentage</ strong > – Percentage of words in a
477
- sentence that should be transformed. Nevertheless, always at
478
- least single word should be transformed. .</ li >
477
+ sentence that should be transformed. If greater than 0,
478
+ always at least single word will be transformed.</ li >
479
479
< li > < strong > characters_percentage</ strong > – Percentage of characters in a
480
- word that should be transformed. Nevertheless, always at
481
- least single character should be transformed.</ li >
480
+ word that should be transformed. If greater than 0
481
+ always at least single character will be transformed.</ li >
482
482
< li > < strong > seed</ strong > – Random seed.</ li >
483
483
</ ul >
484
484
</ td >
0 commit comments