More improvements to redneck translator.

This commit is contained in:
Storm Dragon 2020-08-18 21:18:37 -04:00
parent d448ba2cf7
commit 7f8a5abbcd

View File

@ -11,7 +11,7 @@ redneck() {
-e "s/(^| )thing( |,|\?|\.|!)/\1thang\2/gI" \ -e "s/(^| )thing( |,|\?|\.|!)/\1thang\2/gI" \
-e "s/(.\w+)ink(.*)/\1ank\2/gI" \ -e "s/(.\w+)ink(.*)/\1ank\2/gI" \
-e "s/(^| )A /\1Uh /gI" \ -e "s/(^| )A /\1Uh /gI" \
-e "s/(.*)i([^a|^e|^u|^ble|^ll|^ndo|^on|^s].*)/\1ah\2/gI" \ -e "s/(.*)i([^a|^e|^u|^ble|^ck|^ll|^ndo|^on|^s].*)/\1ah\2/gI" \
-e "s/(^| )(boy|dude|fellow|guy|man)([?s])( |,|\?|\.|!)/\1feller\3\4/gI" \ -e "s/(^| )(boy|dude|fellow|guy|man)([?s])( |,|\?|\.|!)/\1feller\3\4/gI" \
-e "s/(^| )for( |,|\?|\.|!)/\1fer\2/gI" \ -e "s/(^| )for( |,|\?|\.|!)/\1fer\2/gI" \
-e "s/(^| )(hello|hey|hi|how's it going|hows it going)( |,|\?|\.|!)/\1howdy\3/gI" \ -e "s/(^| )(hello|hey|hi|how's it going|hows it going)( |,|\?|\.|!)/\1howdy\3/gI" \
@ -29,6 +29,8 @@ redneck() {
-e "s/(\w)(i|ah)ght( |,|\?|\.|!)/\1aht'\3/gI" \ -e "s/(\w)(i|ah)ght( |,|\?|\.|!)/\1aht'\3/gI" \
-e "s/(^| )my /\1mah /gI" \ -e "s/(^| )my /\1mah /gI" \
-e "s/(^| )people( |,|\?|\.|!)/\1folks\2/gI" \ -e "s/(^| )people( |,|\?|\.|!)/\1folks\2/gI" \
-e "s/(^| )pretty( |,|\?|\.|!)/\1purdy\2/gI" \
-e "s/(^| )sure( |,|\?|\.|!)/\1shore\2/gI" \
-e "s/(.*)window(.*)/\1windder\2/gI" \ -e "s/(.*)window(.*)/\1windder\2/gI" \
-e "s/(.*)where|we're(.*)/\1wer\2/gI" \ -e "s/(.*)where|we're(.*)/\1wer\2/gI" \
-e "s/(^| )that( |,|\?|\.|!)/\1'at thar'\2/gI" \ -e "s/(^| )that( |,|\?|\.|!)/\1'at thar'\2/gI" \