💾 Archived View for yujiri.xyz › spem › transliteration.gmi captured on 2023-01-29 at 16:59:11. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-06-03)

➡️ Next capture (2024-07-09)

-=-=-=-=-=-=-

yujiri.xyz

The Spem conlang

The Spem conlang: ASCII transliteration scheme

Spem transliteration revolves around the overloading of 'h' and ' as an escape character. Letters are transformed as follows:

Whenever one of the sequences on the right appears literally in Spem text, a ' is inserted in the middle.

For fun and on the very small chance that it's useful, here's Python code to transliterate:

def utf8_to_ascii(spem):
	return spem \
		.replace('ih', "i'h") \
		.replace('oh', "o'h") \
		.replace('uh', "u'h") \
		.replace('ah', "a'h") \
		.replace('sh', "s'h") \
		.replace('th', "t'h") \
		.replace('ng', "n'g") \
		.replace('ɪ', 'ih') \
		.replace('ɵ', 'oh') \
		.replace('ʌ', 'uh') \
		.replace('ɑ', 'ah') \
		.replace('ʃ', 'sh') \
		.replace('θ', 'th') \
		.replace('ŋ', 'ng')

And to reverse it:

def ascii_to_utf8(spem):
	return spem \
		.replace('ng', 'ŋ') \
		.replace('th', 'θ') \
		.replace('sh', 'ʃ') \
		.replace('ah', 'ɑ') \
		.replace('uh', 'ʌ') \
		.replace('oh', 'ɵ') \
		.replace('ih', 'ɪ') \
		.replace("n'g", 'ng') \
		.replace("t'h", 'th') \
		.replace("s'h", 'sh') \
		.replace("a'h", 'ah') \
		.replace("u'h", 'uh') \
		.replace("o'h", 'oh') \
		.replace("i'h", 'ih')

contact

subscribe via RSS