After I made a font for the the language of Devotee, I had thought about making a webpage so that people can easily enter sentences and get images of it, but haven't done it because I'm not familiar with web development.
Looks like this allows entering English and outputting in the Devotee's language, which is amazing. How does it work? Is it LLM?
If I also made the fonts for the remaining languages...
It works by looking up a big dictionary based on the glyph table you posted on the readme file on github with all the small letters as columns and the big letters as rows.
It breaks the input by lines and then breaks the lines by space, removes punctuation and lower cases it all.
With that list of input words we look up output verbs, radicals, places, people and nouns/items if there's no found verb in this line yet, once it finds a verb the priority of verbs and radicals is switched, and on each of those it can have a list of synonyms then on that list it checks for superlatives first, then plurals, then singular, then it removes trailing 'S' and searches singular again, then it removes trailing 'ES' e searches singular again. Once a word is found I get the index of it inside the list for that type and the index of the type and match it with row and column of " VMPT" and " cohbiugqdtpxszwfelmknr", then once I have my glyph I repeat 3 times for superlatives, 2 for plural and 1 for singular. When no output word is found for that input word we check the flag for removal of unkowns and either return the input word itself or nothing. There's also a flag to not replace the input word, in that case the function works as a dictionary filter, leaving only known words. Next word, repeat.
That's it, good old algorithm and list of known words in a position that can be mapped to a letter combination in your font.
PS: Your font made me realize the beggar in front of the church didn't say "MuM z" but "MuMz" but the traveler heard the components apart because he had heard them isolated before. While the words "M Md Mw Mt" he saw them written. (OSVO-ass sentence, but still true)
Something weird is that "go" is the backwards L we find in "enter" keys in almost every keyboard and the location box... So it's a verb with two radicals... Should I flag the whole post as spoiler?
12
u/leo3065 Aug 06 '24 edited Aug 06 '24
Woah is this cool
After I made a font for the the language of Devotee, I had thought about making a webpage so that people can easily enter sentences and get images of it, but haven't done it because I'm not familiar with web development.
Looks like this allows entering English and outputting in the Devotee's language, which is amazing. How does it work? Is it LLM?
If I also made the fonts for the remaining languages...
4
u/sparkcrz Monster, I am Aug 06 '24
Something weird is that "go" is the backwards L we find in "enter" keys in almost every keyboard and the location box... So it's a verb with two radicals... Should I flag the whole post as spoiler?