This commit is contained in:
alisceon 2026-02-24 15:30:45 +01:00
parent b675d5c1cc
commit 769db9df6e
7 changed files with 97 additions and 54 deletions

42
util/format_text.py Normal file
View file

@ -0,0 +1,42 @@
import sys
# Introducing the Alisceon Reduces Emoji Set
ALPHABETS = {
"emoji": {
#Emoji Letter
"a": "🇦",
"b": "🇧",
"c": "🇨",
"d": "🇩",
"e": "🇪",
"f": "🇫",
"g": "🇬",
"h": "🇭",
"i": "🇮",
"j": "🇯",
"k": "🇰",
"l": "🇱",
"m": "🇲",
"n": "🇳",
"o": "🇴",
"p": "🇵",
"q": "🇶",
"r": "🇷",
"s": "🇸",
"t": "🇹",
"u": "🇺",
"v": "🇻",
"w": "🇼",
"x": "🇽",
"y": "🇾",
"z": "🇿",
}
}
out = []
if len(sys.argv) > 2:
alphabet = ALPHABETS.get(sys.argv[1], {})
for letter in " ".join(sys.argv[2:]):
out.append(alphabet.get(letter, ""))
print("".join(out))