summarylogtreecommitdiffstats
path: root/uwu
diff options
context:
space:
mode:
authorqsqcqs2024-03-16 09:32:01 -0700
committerqsqcqs2024-03-16 09:32:01 -0700
commit646b30b6a4ea924f526110cae1ac91be4bc57e3c (patch)
tree8103fa57c174e573e7a689f9022ae515951f41b2 /uwu
downloadaur-646b30b6a4ea924f526110cae1ac91be4bc57e3c.tar.gz
pls
Diffstat (limited to 'uwu')
-rw-r--r--uwu64
1 files changed, 64 insertions, 0 deletions
diff --git a/uwu b/uwu
new file mode 100644
index 000000000000..4d7e756b77ef
--- /dev/null
+++ b/uwu
@@ -0,0 +1,64 @@
+#!/bin/python
+
+import re
+import sys
+b=0
+if len(sys.argv) > 1:
+ b=sys.argv[1:]
+ a=b[0]
+ b=b[1:]
+ while len(b) > 0:
+ a=a+' '+b[0]
+ b=b[1:]
+ a=re.sub("thats","nyas",a)
+ a=re.sub("pretty|beautiful","pwetti",a)
+ a=re.sub("rl","w",a)
+ a=re.sub("r","w",a)
+ a=re.sub("l","w",a)
+ a=re.sub("ow","ao",a)
+ a=re.sub("tha","nya",a)
+ a=re.sub("(?<=\b)this(?=\b)","dis",a)
+ a=re.sub("na","nya",a)
+ a=re.sub("th","f",a)
+ a=re.sub("(?<![b-df-hj-np-tv-xzB-DF-HJ-NP-TV-XZ])u","wu",a)
+ a=re.sub("y","yie",a)
+ a=re.sub("(?<![aeiouAEIOU])e[iya]","yei",a)
+ a=re.sub("(?<![aeiouAEIOU])ie","yie",a)
+ a=re.sub("(?<![aeiouAEIOU])a[e]","yae",a)
+ a=re.sub("(?<![aeiouAEIOU])ai","yai",a)
+ a=re.sub("(?<![aeiouAEIOU])o[ou]","yu",a)
+ a=re.sub("(?<![aeiouAEIOU])oe","yo",a)
+ a=re.sub("(?<![aeiouAEIOU])u[eu]","uwu",a)
+ a=re.sub("(?<![aeiouAEIOU])e[u]","uwu",a)
+ a=re.sub("o[uo]","ew",a)
+ print(a)
+ exit()
+
+while b==0:
+ try:
+ a=input()
+ a=re.sub("thats","nyas",a)
+ a=re.sub("pretty|beautiful","pwetti",a)
+ a=re.sub("rl","w",a)
+ a=re.sub("r","w",a)
+ a=re.sub("l","w",a)
+ a=re.sub("ow","ao",a)
+ a=re.sub("tha","nya",a)
+ a=re.sub("(?<=\b)this(?=\b)","dis",a)
+ a=re.sub("na","nya",a)
+ a=re.sub("th","f",a)
+ a=re.sub("(?<![b-df-hj-np-tv-xzB-DF-HJ-NP-TV-XZ])u","wu",a)
+ a=re.sub("y","yie",a)
+ a=re.sub("(?<![aeiouAEIOU])e[iya]","yei",a)
+ a=re.sub("(?<![aeiouAEIOU])ie","yie",a)
+ a=re.sub("(?<![aeiouAEIOU])a[e]","yae",a)
+ a=re.sub("(?<![aeiouAEIOU])ai","yai",a)
+ a=re.sub("(?<![aeiouAEIOU])o[ou]","yu",a)
+ a=re.sub("(?<![aeiouAEIOU])oe","yo",a)
+ a=re.sub("(?<![aeiouAEIOU])u[eu]","uwu",a)
+ a=re.sub("(?<![aeiouAEIOU])e[u]","uwu",a)
+ a=re.sub("o[uo]","ew",a)
+ print(a)
+ except EOFError:
+ b=1
+