Here’s why language coding needs an uplift

(Credit: Unsplash)

This article is brought to you thanks to the collaboration of The European Sting with the World Economic Forum.

Author: Erik Vogt, Vice President Enterprise Solutions, Appen


  • Languages have been subjected to standardization through the ISO 693-1 code but the growth of digital content means more precise coding is now more urgent.
  • The ISO 693-3 has moved the two-letter language coding to a three-letter standard that takes into account more regional dialects or language variants e.g. Mandarin and Cantonese rather than just Chinese.
  • To involve an even more precise language coding the ISO 693-3 should be used with the ISO 3166 country codes, which is particularly important for metadata.

The case for standardization is well established. Not only do standards assist regulation but they also help effectively join up systems across a globalized economy. Hundreds of functions are subject to codes or standardization and languages are one of them.

Internationally recognized codes representing each language, language family and dialect help country systems and organizations correctly identify and manage data accordingly. They are used for bibliographic purposes within libraries, information management systems, databases and websites and to ensure that machine learning training data addresses its correct intention. What’s more, correctly aligning language variants is not only efficient, it is convenient and protects your brand.

So what code should you be looking for a precise language designation? The comprehensive ISO 639-3 unambiguously defines almost all known languages in the world together with ISO 3166 country codes.

Pre ISO 639-3

Before ISO 639-3, however, there was ISO 639-1, which was a two-letter designation but as the digital world has grown, so has the demand for more precise language support. For instance, “zh” for Chinese under ISO 639-1 is “zho” under ISO 639-3 with around 16 additional language codes for different dialects e.g. “cdo” for Min Dong Chinese, “cmn” for Mandarin Chinese, “hak” for Hakka Chinese etc.

In the spirit of the 2022 World Cup in Qatar, we could take the English language example of “football” to understand the importance of differentiating language variants. Football is understood as a completely different game to US English speakers than, for example, those in the UK who identify it as what Americans call soccer. However, the differentiation between US and UK English is actually not dealt with by ISO 639, although it is differentiated under the country codes.

Even with all the various forms of English around the world, ISO-639 does not count English as a macro language. The other English codes are mostly Creole or Pidgin variants, such as Jamaican Creole English, which perhaps amplifies how inappropriate it is to collate Arabic variants under one code, such as Egyptian Arabic (arz), as differentiated from standard Arabic (ara).

When it comes to the lexicons, training data and data management solutions, language differentiations are crucial to avoid messy results. The best practice for most applications is combining ISO 639-3 and ISO 3166 to identify the specific language and region you intend to use.

“

Delivering increasingly personalized solutions to end customers means precise language ID is a must so applications can align with the end user expectations in each region and their spoken language.”— Erik Vogt, Vice President Enterprise Solutions, Appen Limited

ISO standards for languages

ISO (International Organization for Standardization) has released five parts for language identification standardization: ISO 639 establishes internationally recognized codes (either 2, 3, or 4-letter codes) for representing languages or language families.

Part 1 – ISO 639-1 – is the oldest standard representing the majority of languages using a two-letter code. It covers the most common spoken languages but doesn’t account for variations within languages. Parts 2-5 use three-letter codes and provide more local combinations to account for all known natural languages, living or extinct. ISO 639-3 extends much further than ISO 639-2 to cover over 7,000 languages and is intended for use as metadata code. It is commonly used in computer and information systems, such as the web and SaaS applications, for support of many different languages.

Delivering increasingly personalized solutions to end customers means precise language ID is a must so applications can align with the end user expectations in each region and their spoken language. The 3-letter ISO 639-3 and ISO 3166 codes provide the ability to differentiate these unique languages. Ethnologue, one of the largest and most comprehensive language databases available today, uses the 3-letter ISO system.

Yet there are still a surprising number of requests to provide training data for undifferentiated languages either undefined by ISO 639 or expect outputs that include two or more variants that share an ISO 639-1 code. The later migration to ISO 639-3 happens, the more system ambiguity will occur in systems where language classification is necessary. There will be a higher risk of cross-variant contamination at a higher cost.

Once you start working with languages with more than one variant, it’s essential to migrate to the 3-letter code system. However, while one-to-one mapping exists from all 2-letter codes to 3-letter codes, it is not so easy the other way around. However, updating procedures to the ISO-639-3 standard is a future-proof move worth pre-empting.

Benefits of ISO standards

Training natural language processing (NLP) models need detail and accuracy to be effective for spoken languages. The best combination is ISO-639-3 language and 3166 country codes. For example, English (eng) can be divided into American English (eng-USA), British English (eng-GBR), Canadian English (eng-CAN), Australian English (eng-AUS), South African English (eng-ZAF), etc. A voice assistant designed to recognize speech should be able to identify the English dialect to accurately understand the request and make the correct output.

The two key benefits of consistently applying these ISO standards throughout a system are:

  • Ability to accurately identify candidates with the correct language skills for every task.
  • Ability to consistently refer to the same language across organizations and applications.

Ignoring the increasing need for precise data means inconsistent, incomplete and potentially inaccurate local data means all relevant users are not reliably identified, which impacts the quality and hampers data collection efforts. Fundamentally, however, you’d be ignoring a large subset of your customer base with regional dialects and there is no better reason to adopt the three-letter ISO plus country code than being able to deliver the services you offer to all of your end users.


Discover more from The European Sting - Critical News & Insights on European Politics, Economy, Foreign Affairs, Business & Technology - europeansting.com

Subscribe to get the latest posts sent to your email.

Interesting reads

United Nations President Mahmoud Abbas of the State of Palestine addresses the General Debate of the UN General Assembly’s 81st session.

Palestinian existence under threat, Abbas tells UN, warning of ‘another Nakba’

This article is published in association with United Nations. Israeli policies now threaten “the very life and existence of the Palestinian people on their homeland”, Palestinian President Mahmoud Abbas told the UN General Assembly on Thursday, urging the world not to allow “another Nakba”.  Mr. Abbas addressed the Assembly’s annual debate via pre-recorded video after his […]
© UNICEF/Oleksii Filippov A rescue worker stands outside a residential building in Kyiv’s Solomianskyi district that was severely damaged during a massive overnight attack on the city.

World News in Brief: ‘New intensity’ to Russian attacks on Ukraine, Yemen, Gaza and Colombia updates

This article is published in association with United Nations. Russian armed forces have carried out repeated attacks across Ukraine over the past several days, killing and injuring civilians and damaging homes, hospitals, shops and workplaces, UN human rights monitors said on Thursday. The attacks have involved ballistic and cruise missiles, drones and guided aerial bombs. Between […]
UN Photo/Loey Felipe President Volodymyr Zelenskyy of Ukraine addresses the General Debate of the UN General Assembly’s 81st session.

Zelenskyy urges stronger pressure on Russia, warns war’s impact is spreading beyond Ukraine

This article is published in association with United Nations. Ukrainian President Volodymyr Zelenskyy on Wednesday called for intensified pressure on Russia to end its war against Ukraine, arguing that Moscow continues to incur massive losses while prolonging a conflict whose consequences are increasingly being felt far beyond the battlefield. Addressing the UN General Assembly’s annual debate, […]
UN Photo/Loey Felipe President Donald Trump of the United States addresses the General Debate of the UN General Assembly’s 81st session.

Trump defends military action against Iran, Venezuela, and calls for rebrand of AI

This article is published in association with United Nations. US President Donald Trump used his address to the UN General Assembly on Tuesday to defend recent military action against Iran, urging countries to maintain economic pressure on Tehran – and declaring that he now faces a choice between making a deal, or taking far more drastic […]
© UNICEF/Oleksii Filippov An injured girl climbs the partially collapsed stairwell of a building in Boryspil, Ukraine, following a missile strike.

‘Nowhere is safe’: UN experts detail Ukraine war’s toll and Russia’s reach beyond its borders

This article is published in association with United Nations. UN Human Rights Council-appointed experts on Monday laid out a grim picture of the human cost of Russia’s invasion of Ukraine, with a spotlight on civilians facing a third wartime winter as well as the intimidation of Russians who have fled abroad. The Independent International Commission of Inquiry […]
© UNICEF/Robic Upadhayay Aid workers transport supplies past a flood-damaged house in Nepal.

Nepal floods: ‘Apocalyptic’ destruction signals wider climate threat across Himalayas

This article is published in association with United Nations. The catastrophic flooding that swept away entire villages in northern Nepal could occur again in the country or elsewhere in the Himalayas due to climate change. The warning comes from Sara Netzer, regional director with UN field operations office UNOPS, which provides infrastructure, procurement and project management […]
This article is published in association with United Nations.

World News in Brief: Winter aid for Gaza, West Bank; Haiti food production; migrant deaths at sea; human rights funding

The UN Children’s Fund (UNICEF) is seeking to raise $97.5 million to protect 540,000 children and their families in Gaza and the West Bank from harsh winter conditions in the coming months. Nearly 84 per cent of Gaza’s population – more than 1.76 million people – live in overcrowded displacement sites or damaged shelters, leaving […]
© UNRWA Search-and-rescue operations continue following the collapse of a war-damaged building in Gaza city.

Gaza: At least 20 killed in deadly building collapse, search for survivors continues

This article is published in association with United Nations. Search and rescue operations continued in Gaza City on Wednesday following the collapse of a bombed-out building that killed at least 20 people, according to reports. The incident has highlighted the precarious situation of displaced Palestinians across the Gaza Strip who shelter wherever they can, including in […]
UN News/Nargiz Shekinskaya The UN HQ (Secretariat) building in Manhattan.

The world comes to New York: What’s at stake at UN General Assembly high-level week

This article is published in association with United Nations. Each September, New York becomes the centre of global diplomacy as presidents, prime ministers, ministers and diplomats from around the world gather at United Nations Headquarters. At a time of mounting geopolitical tensions and overlapping global crises, leaders will tackle a packed agenda that includes conflicts and […]

Six UN staff killed in Gaza school strike; Lebanon violations mount

This article is published in association with United Nations. Israeli strikes killed six UN workers and civilians at a school sheltering displaced families in Gaza as needs grow, according to the UN agency for Palestine refugees, UNRWA. At least 220 agency staff have been killed in Gaza since the Hamas-Israel war began in October 2023. UNRWA Acting […]
This article is published in association with United Nations.

‘Where do we go?’: How Israel’s ‘yellow line’ is closing in on Palestinians

This article is published in association with United Nations. Ola Ishtiwi sits with her children in front of the remains of her home in the Al-Tuffah neighbourhood in eastern Gaza City, a few metres away from a series of painted cement blocks Israel has placed to mark what has become known as the “yellow line”. Initially set up following the announcement of the Israel-Hamas ceasefire […]
© UNDP/Oleksandr Ratushniak A substation in Ukraine damaged during ongoing strikes in the war with Russia.

Ukraine: Drone attacks on Chornobyl are ‘gambling with the safety of millions of people’

This article is published in association with United Nations. A drone strike on the protective structure at the Chornobyl Nuclear Power Plant could have endangered the safety of millions of people, UN Development Programme (UNDP) Administrator Alexander De Croo told reporters via video link from Kyiv on Thursday. He is visiting Ukraine, with his mission focused […]
© UNHCR/Dar Al Mussawir Smoke rises above residential neighborhoods in Tyre, southern Lebanon, following an Israeli airstrike. (file)

UN chief demands Israeli withdrawal from Lebanon amid Nabatieh escalation

This article is published in association with United Nations. The Secretary-General has condemned mounting civilian casualties in southern Lebanon and called on Israel to withdraw its forces from Lebanese territory, as fighting intensifies in and around Nabatieh. Key points In a statement issued by his Spokesperson, Stéphane Dujarric, the Secretary-General said he was “deeply concerned” by […]
© UNHCR/Dar Al Mussawir Smoke rises above residential neighborhoods in Tyre, southern Lebanon, following an Israeli airstrike. (file)

UN chief demands Israeli withdrawal from Lebanon amid Nabatieh escalation

This article is published in association with United Nations. The Secretary-General has condemned mounting civilian casualties in southern Lebanon and called on Israel to withdraw its forces from Lebanese territory, as fighting intensifies in and around Nabatieh. Key points In a statement issued by his Spokesperson, Stéphane Dujarric, the Secretary-General said he was “deeply concerned” by […]
© UNOCHA/Viktoriia Andriievska The aftermath of a drone strike in Kyiv, Ukraine (file). UN High Commissioner for Human Rights Volker Türk (file) said on Monday that he was "horrified" by the thought of fully autonomous weapons being used in battle.

AI: Türk urges action before it becomes an ‘existential risk to humanity’

This article is published in association with United Nations. UN human rights chief Volker Türk added his voice on Monday to growing calls for greater AI controls, warning that the revolutionary technology could become an “existential risk to humanity” if left unchecked. Without binding rules, independent oversight and clear limits, the technology could become impossible to […]
This article is published in association with United Nations.

As wildfires spread north, UN agencies race to help Europe adapt

This article is published in association with United Nations. As the climate warms, the threat of wildfires is spreading in Europe. How can historically cooler and wetter countries prepare? Human activity causes most of the wildfires breaking out across Europe, but their spread, speed and intensity are strongly affected by the warmer, drier conditions associated with […]
© UNICEF-SoP/Crickx People walk down a dusty road in the West Bank carrying belongings.

West Bank: UN rights report warns of forcible displacement from three refugee camps

This article is published in association with United Nations. Israeli security forces forcibly displaced the entire population of three Palestine refugee camps in the occupied West Bank in January and February last year – and continue to prevent their return, in violation of international law, according to a new report by the UN human rights office, OHCHR. […]
©UNIFIL/Tilak Pokharel UNIFIL personnel distribute food kits to displaced families in Saida, Lebanon.

Lebanon–Israel tensions escalate as Gaza sees major aid delivery

This article is published in association with United Nations. Peacekeepers in Lebanon have reported a marked deterioration in the security situation along the Blue Line of separation, with Israeli forces intensifying their military footprint in violation of a landmark Security Council resolution, UN Spokesperson Stéphane Dujarric said on Thursday. Meanwhile, in Gaza, humanitarian teams collected hundreds […]
This article is brought to you in association with the European Commission.

World News in Brief: US-Iran war intensifies, aid for Myanmar, casualties in Ukraine

This article is published in association with United Nations. Fighting between the United States and Iran has sharply escalated after a month-long lull, with the two sides exchanging strikes as fears grow over further civilian casualties. The US military struck rocket launchers on an island in the Strait of Hormuz over the weekend, days after US […]

Why don't you drop your comment here?

Go back up

Discover more from The European Sting - Critical News & Insights on European Politics, Economy, Foreign Affairs, Business & Technology - europeansting.com

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from The European Sting - Critical News & Insights on European Politics, Economy, Foreign Affairs, Business & Technology - europeansting.com

Subscribe now to keep reading and get access to the full archive.

Continue reading

The European Sting – Critical News & Insights on European Politics, Economy, Foreign Affairs, Business & Technology – europeansting.com