Conversation
Show script (click here)ENG_WORDS=`mktemp`;OWO_WORDS=`mktemp`
ag --nonumbers "th$" /usr/share/dict/words | sed "s/$/ /g" > $ENG_WORDS
cat $ENG_WORDS | nodejs -e "console.log(require('./index.js')(require('fs').readFileSync(0, 'utf-8')))" > $OWO_WORDS
echo 'Original | OWOified'
echo '--- | ---'
paste -d '| ' $ENG_WORDS $OWO_WORDS
rm $ENG_WORDS; rm $OWO_WORDS |
For example, "truth" becomes "twuf". "This" stays "this", but "fifth" becomes "fiff". This only affects mid-sentence words; not the word at the end. This change affects 245 lines from my copy of /usr/share/dict/words.
| 'MPs weject Thewesa May\'s wevised EU withdwawaw deaw, thwowing UK\'s Bwexit pwans into confusion', | ||
|
|
||
| // if this one changes update the README too: | ||
| 'I have no mouth and I must scream': 'I haz nu mouf and I must scweam' |
There was a problem hiding this comment.
Codacy has a fix for the issue: Unexpected blank line between object properties.
| 'I have no mouth and I must scream': 'I haz nu mouf and I must scweam' |
| 'r': 'w', | ||
| 'rrrrr': 'wwwww', | ||
| 'rlrlrl': 'wwwwww', | ||
| 'thth thth thth': 'thf thf thth', |
There was a problem hiding this comment.
Codacy has a fix for the issue: Replace 'thth·thth·thth':·'thf·thf·thth' with "thth·thth·thth":·"thf·thf·thth"
| 'thth thth thth': 'thf thf thth', | |
| "thth thth thth": "thf thf thth", |
| 'thth thth thth': 'thf thf thth', | ||
| 'notification': 'nutification', | ||
| 'with the economy in ruins': 'wif da econumy in wuins', | ||
| 'it is a truth universally acknowledged': 'it is a twuf univewsawwy acknuwwedged', |
There was a problem hiding this comment.
Codacy has a fix for the issue: Replace 'it·is·a·truth·universally·acknowledged':·'it·is·a·twuf·univewsawwy·acknuwwedged' with "it·is·a·truth·universally·acknowledged":⏎······"it·is·a·twuf·univewsawwy·acknuwwedged"
| 'it is a truth universally acknowledged': 'it is a twuf univewsawwy acknuwwedged', | |
| "it is a truth universally acknowledged": |
| 'it is a truth universally acknowledged': 'it is a twuf univewsawwy acknuwwedged', | ||
| 'MPs reject Theresa May\'s revised EU withdrawal deal, throwing UK\'s Brexit plans into confusion': | ||
| 'MPs weject Thewesa May\'s wevised EU withdwawaw deaw, thwowing UK\'s Bwexit pwans into confusion' | ||
| 'MPs weject Thewesa May\'s wevised EU withdwawaw deaw, thwowing UK\'s Bwexit pwans into confusion', |
There was a problem hiding this comment.
Codacy has a fix for the issue: Replace 'MPs·weject·Thewesa·May\'s·wevised·EU·withdwawaw·deaw,·thwowing·UK\'s·Bwexit·pwans·into·confusion' with ··"MPs·weject·Thewesa·May's·wevised·EU·withdwawaw·deaw,·thwowing·UK's·Bwexit·pwans·into·confusion"
| 'MPs weject Thewesa May\'s wevised EU withdwawaw deaw, thwowing UK\'s Bwexit pwans into confusion', | |
| "MPs weject Thewesa May's wevised EU withdwawaw deaw, thwowing UK's Bwexit pwans into confusion", |
| 'MPs weject Thewesa May\'s wevised EU withdwawaw deaw, thwowing UK\'s Bwexit pwans into confusion', | ||
|
|
||
| // if this one changes update the README too: | ||
| 'I have no mouth and I must scream': 'I haz nu mouf and I must scweam' |
There was a problem hiding this comment.
Codacy has a fix for the issue: Replace 'I·have·no·mouth·and·I·must·scream':·'I·haz·nu·mouf·and·I·must·scweam' with "I·have·no·mouth·and·I·must·scream":·"I·haz·nu·mouf·and·I·must·scweam",
| 'I have no mouth and I must scream': 'I haz nu mouf and I must scweam' | |
| "I have no mouth and I must scream": "I haz nu mouf and I must scweam", |
For example, "truth" becomes "twuf".
"This" stays "this", but "fifth" becomes "fiff".
This only affects mid-sentence words; not the word at the end.
This change affects 245 lines from my copy of /usr/share/dict/words.
I'm not sure about this one; it might be going too far?