Browsed by
Category: writing systems

Word games

Word games

You have very certainly heard about Wordle, the viral word game by powerlanguage, recently bought by the NYT. In the original game, a 5-letter English word is secretly chosen every day, which players attempt to guess in 6 tries. Each guess is answered by colored cues: green for “correct letter in the correct place”, orange for “correct letter in the wrong place”, gray for “incorrect letter”. The concept of wordle is not new, and resembles games such as Jotto, Lingo, and mastermind.

 A sample game of Mastermind.
A sample game of Mastermind.

While some may have been annoyed by the endless stream of three-color square emojis reporting players’ success and inundating social media I have been delighted by the productivity displayed by the many variants: in hello wordl, play an endless number of games; in dordle, quordle, octodle guess several words at once; in squardle, play in two dimensions; in nerdle, guess a mathematical formula; in absurdle, the games does its best to get away from your guesses, etc.

Quordle lets you play 4 games at once
Quordle lets you play 4 games at once

Some derived games transform the game mechanics, but the simplest variation is to switch the vocabulary (have you tried queerdle or lordle of the rings?) or the language. Indeed, wikipedia already references more than 40 wordle language variants. If I believe my social feeds, many linguists have found that they were able to play in languages that they didn’t speak, provided that they had some intuitions of the phonotactics and orthographic sequences. I was however quite disappointed to see that many versions retained the English-centric 1-letter:1-unicode-character, and avoided diacritics altogether, leading to strange impoverished typography — this is the case for example of the French wordle, “le mot”.

 

The French wordle accepts "meler", but not "melez"
The French wordle accepts “meler”, but not “melez”

 

While playing variants, I realized that a wordle is only as good as its word list: some games rely on lexicons which contain only citation forms (infinitives for French verbs) and exclude the many others inflected forms, leading to a frustrating game experience. For example, in Le Mot, one can play mêler (or more exactly, meler) “to mix”, but not meles “(you) mix”. It happens that well curated words lists including inflected variant is a Surrey Morphology Group specialty: lexicons and dictionaries are a common product of language documentation, and as its names indicates, researchers at the SMG have a particular focus on morphology. We have been maintaining open inflectional databases since the 90s. After discussion, we agreed collectively to start by producing two wordle-like games, corresponding to the two main lexicons in the SMG databases, respectively the Dictionary of Archi and the Nuer Lexicon.

Nuerdle interface
SMG wordle in Nuer: Nuerdle

The Nuer language, or Thok Nath, is a West Nilotic language spoken by approximately 900,000 to two million people in South Sudan and Ethiopia, as well as in diaspora communities throughout the world. The SMG has created an interactive online dictionary for it. From this lexicon, I have extracted 6218 words, mostly verbs and nouns, with a few other part of speech represented. All targets are taken from this set of words. However, using only the lexicon would risk rejecting a lot of words the speakers might know, even though they are not documented in the lexicon. Thus, I also extracted all of the words from the Nuer translation of the Bible1. This led to a total lexicon of 13476 words2.

Archidle interface
SMG wordle in Archi: Archidle

Archi is a Daghestanian language of the Lezgic group spoken by about 1200 people in Daghestan. At the SMG, we created a dictionary of Archi, with entries in Russian, English, and Nuer (both orthographic and phonetic forms), from which I extracted 3626 words for our wordle puzzle. For now, we do not have any more words for Archi, but we are working on it. In the game, we have ignored the stress diacritics, which might not be intuitive enough for speakers.

Two Nuer Keyboards. On the left, from a mobile app. On the right, our keyboard.
Nuer keyboards: from a mobile app (left), or from our wordle game (right).

In order to create the SMG wordles, I started from the open source code of the re-playable version, hello wordle. In order to keep the game closer to its original, I removed the re-playable function. However, I did keep the option to play a range of word length from 4 to 7 letters. Each day, you can thus play 4 games in each language.  A main challenge was that the Nuer orthography comprises diacritics, which required rewriting large parts of the game, as it previously assumed that each letter could be written with a single character. Another difficulty came from the fact that neither language has a unique, widely used, keyboard layout. For Nuer, we created one based on a mobile keyboard, which we extended to include more diacritics.

Two Cyrillic Keyboards. On the left, standard Russian layout. On the right, our keyboard for Archi.
Cyrillic keyboards: Russian keyboard from a mobile app (left), or Archi keyboard from our wordle game (right).

In both cases, we strove to make the game playable by learners, linguists, and curious people who do not speak Archi or Nuer. For this reason, we made the default word length 4 letters rather than 5, to make the game easier. Moreover, we added short English definitions for all words in our lexicons, with links to their full definitions in our resources. Words in Nuer from the bible are not always present in our Nuer lexicon, and hence, some words in Nuer can appear without translations. Finally, in order to help beginners get started, we provide a few example words of the correct length each day, hidden by default, which can be used to start playing.

Ri̱et: "word" in Nuer
A word played in Nuerdle, with translation in the margin

Besides learning the languages, scouring the dictionary, or using the words given as hints daily, how can you get better at the Nuer or Archi wordle ? It helps to pay attention to the frequency of each letters, and try to play words with frequent letters, in order to reduce the pool of potential words quickly. For the English wordle, some have calculated the optimal starting word. Rather than risk spoiling the game, I provide below the relative frequencies of each of the 5 most frequent letters, for each position (1 to 7) in Nuerdle and Archidle words. This should give an idea of frequent letters at each position. The colors are assigned according to overall frequency in the lexicon, with light greens more frequent than dark blues. Each bar represents the frequencies of the five most frequent letters in a word position (from 1 to 7), ignoring the other, less frequent letters. Each stacked colored bar’s height, between two white lines, represents the letter’s frequency: eg. in Nuer, a word in our lexicon starts with k around 10% of the time, and with around 12% of the time. If there is some interest, a future blog post could explore further the frequent sequences and letter patterns in either languages.

Frequency of each character in Nuer words in our lexicon, per positon
Frequency of each character in Archi words in our lexicon, per positon

Finally, since this is a morphology blog, I would like to draw your attention to the interesting way in which English acquired a new -dle suffix. The original game is called wordle, a combination of the creator’s last name Wardle, and of word. As the game became viral, the apparent suffix has come to mean “game in the wordle family” (or maybe “online guessing game”). Interestingly, even though the most obvious decomposition of wordle seems to be word+le, the productive suffix is -dle, not -le. Could this be because the family resemblance in the new words is more obvious by keeping more common material ? Isn’t analogy mysterious? In any cases, after hesitating with ri̱etle (from ri̱et “word”+le, in Nuer) and č’atle (from č’at, “word” in Archi), we settled instead on calling our games Archidle and Nuerdle.

 

  1. excluding words starting with a capital, in order to avoid proper names. []
  2. If you want to suggest missing Nuer words, the Nuer lexicon has a module for suggestions ! []
Arabic based scripts

Arabic based scripts

Scripts spread like bad news. Look at the Latin script, which is the ultimate winner considering the hundreds, if not thousands of languages that use it today. Political power and religion have caused the Latin script to serve as the basis for this proliferation of written languages, first in Europe, and then almost everywhere else, including many languages that had no written tradition before the Western influence. The exceptions are the scripts that have a strong enough tradition that keeps them going.

However, the Latin script is not the only prevalent one. Wikipedia lists 95 languages that are using, or have actively used the Arabic script. In this post we will be looking at how they do it.

The way different languages use a script can vary significantly. Some can invent new versions of letters that express the peculiar sounds of a language, such as the long vowels in Hungarian: á, í, é, ó, ú, ő, ű. Others, like English, combine existing letters to do the same job, like th or ch. Some will get rid of the letters that are not useful enough. Next time you visit Turkey, look at the taxi signs.

A Turkish taksi

One way we could classify writing systems is how helpful they are, if someone intends to read them. Chinese is famously not very helpful. Even though some characters will give a hint on how to pronounce the word, or what it means, generally you have to learn thousands of characters, that refer to separate “words”. English is rather helpful in the sense that the letters generally help the reader figure out what sound is supposed to be pronounced. Not always, thouGH. Sometimes it is touGH to determine how to pronounce GH, for example. Is it /f/, /g/ or /nothing/? Learners have to learn the differences individually. The most helpful scripts represent a speech sound with a single letter consistently. Look at Turkish! Nobody needs an X if you have KS, that perfectly does the job at all times.

Arabic is similar to English in this classification, but in a completely different way. In order to understand what is going on, we must know what templatic morphology is. When creating new words, most languages add meaningful bits to the beginning, or to the end of a word. Or both, like in the case of my favorite Metallica song, the Un-forgive-n. We can say that English, in most cases, uses a word as a base for such operations. Arabic, on the other hand, uses two or three consonants, as a base. They are not words; they rather represent a broad concept. The schoolbook example is K-T-B, which represents the broad concept of writing. Arabic, then, adds things before, after and in between (i.e. applies the three consonants to a template). The templates also have meanings and thus narrow down the concept’s meaning to a word, that can actually be used in the language. There are only two rules when inserting the three consonants into a template: 1) Do not skip any consonant, and 2) keep their order. Let’s see a few examples, how these templates work. The capital letters are the base consonants, and the small letters fill in the template.

Template meaning K-T-B ‘write’ M-L-K ‘rule, possess’
place where happens maKTaBa ‘library’ maMLaKa ‘kingdom’
person who does it KāTiB ‘writer’ MāLiK ‘king’
passive (being done) maKTūB ‘written’ maMLūK ‘slave’

Long story short, templates are extremely important in Arabic. This is combined with the unfortunate fact that Arabic has lots of consonants and very few vowels, namely, /a/, /u/, and /i/. They all contrast long and short versions, that gives a total of six vowels. On the contrary, there are 28 consonants. Here is a really nice introduction to Arabic speech sounds.

The facts above have led to a writing system where vowels are so ‘underrated’ that they are basically not marked. In fact, the long vowels are marked, but by specific consonants, that may be pronounced as a consonant, or considered as a sign that marks a long vowel. To illustrate this, let’s see some Arabic words, the raw information you get from the letters you see, some possible pronunciations, just for fun, and how you actually need to pronounce them.

مورد
raw information [m] [w/ū] [r] [d]
possible pronunciation mawarad, mūrad, mawrad, miward, muwarrid, muwarad…
actual pronunciation mawrid
meaning supplies

مدينة
raw information [m] [d] [y/ī] [n] [a]
possible pronunciation midayna, mudayna, madayna, mudīna, midīna, madīna…
actual pronunciation madīna
meaning city

Arabic has a way of signaling how a word should be pronounced exactly, but these additional signs above and below the main letters (diacritics) are only used in children’s reading books and in the Qur’ān. Nothing above and below the red lines actually appear in every-day texts or in handwriting.

Arabic script

In essence, instead of marking vowels with high precision, Arabic marks the consonants and in most cases, you can figure out the template as well. And if you know Arabic, then you know all the templates, so you don’t even really need those unmarked vowels.

The Arabic writing system fits the Arabic language really neatly, but what about other languages? Persian uses the Arabic script, but it has no templates. It is an Indo-European language with word formation rules that are very similar to the ones we find in European languages. So, how did they deal with this situation? Well, they did their best to mark vowels with a bit more precision. At the ends of words, Persian uses the letter /h/ to mark the vowels /e/ and /a/. The consonants that can signal the presence of a long consonant in Arabic, are used much more consistently, so when you see one, you can be almost sure that there is a long vowel. Apart from the vowel problem, Persian has also added a couple of consonants, that Arabic lacks, such as /p/, /g/ or /ch/.

Urdu is spoken mainly in Pakistan, and it is quite similar to Hindi, but let’s stick to the fact (there is a political debate), that it has retroflex consonants (the tip of the tongue curls backwards). Those are the speech sounds in many Indic languages that make them sound so recognizable. Urdu’s strategy is similar to what we saw in Persian, with the addition of the retroflex consonant. There is also an additional, second form of the letter h, that signals aspiration (the h-like sound after consonants, like in the words dharma, makhani or bhaji). The last addition is a differently shaped letter y, that marks /ay/ or /ey/, as opposed to a long /ī/. In Persian and Arabic, there is only one letter that represents these three sounds.

Urdu is also special in that the Urdu printed texts use a type of calligraphy, called Nasta’liq. This makes Urdu texts look very different from Arabic, but it is only a matter of fonts.

Arabic newspaper
Urdu newspaper

Lastly, let’s discuss a language that has completely reformed the Arabic script. Uyghur is a Turkic language spoken in the Xinjiang Uyghur Autonomous Region in Northwest China. As all Turkic languages, Uyghur has a large number of vowels and relatively few consonants. This makes the Arabic script a rather difficult choice for this language, unless some modifications are done. In the Uyghur script, every speech sound is represented in a consistent way, i.e. there is no ambiguity whatsoever. The set of consonants is essentially the same as in Persian, but there are nine additional letters that allow for a precise marking of vowels. For anybody else from the world of Arabic based scripts, the resulting text may appear somewhat weird. The following image illustrates how different this script is from the previous ones. The parts circled are the Uyghur innovations that would be incorrect in Arabic, Persian or in Urdu. Notice their proportion.

Uyghur script

The cherry on the cake is the Thaana script. It is used to write Dhivehi, an Indo-European language spoken in the Maldives. This script is based on Arabic, but in a unique way. Thaana started off as a secret script for sacred, religious texts. It was considered a way of encryption, and therefore the letters originate from Arabic letters, as well as Arabic numbers and Indic numbers (!). Imagine that you code a message that looks like this: 7q۳۶gt55۹۴. All speech sounds are precisely marked, as in Uyghur. Notice the vowel-marking diacritics above and below the main letters, and their similarity to the Arabic diacritics (in the picture above where the diacritics are separated with a red line). But of course, this script looks really different from the other ones we have seen.

Dhivehi newspaper

Linguists believe that only a handful of writing systems appeared independently around the world. Most languages had to adopt the script of another language, and due to different needs and strategies, we have ended up with a myriad of historically related, but still, different scripts. Linguists consider writing systems negligible, since they are just the representation of language, which we are truly interested in. I think, however, that the backgrounds of different scripts are amazing.