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

© UNDP Nidaa with the chickens and ducks she raises in Gaza.

Sustaining livelihoods amid crisis in Gaza

This article is published in association with United Nations. Nidaa, Hanaa and Hanin have different stories, but share a common thread: the determination to build something of their own and keep it going despite extraordinary challenges facing them in war-ravaged Gaza. Following the devastation of the past three years, productive capacity in Gaza has been severely […]
© UNICEF/Oleksii Filippov A firefighter works on the balcony of a wrecked building in Kyiv, Ukraine.

World News in Brief: Russian attacks continue in Ukraine, Gazans shelter in flood-prone areas, keeping sight of eye health

This article is published in association with United Nations. UN human rights chief Volker Türk said on Thursday he was appalled by a wave of attacks that have killed civilians across Ukraine over the past four days.  They include a strike on two public buses in Kramatorsk on Thursday, that left at least 30 civilians dead, […]
This article is published in association with United Nations.

Ukraine: UN condemns latest attacks and calls for civilian protection

This article is published in association with United Nations. The UN Humanitarian Coordinator for Ukraine on Wednesday called for an end to attacks against civilians following further overnight strikes by Russian forces that reportedly killed at least 19 in the Chernihiv Region. Among the dead in Pryluky were five children, three of them babies, according to the […]
© UNICEF-SoP/Crickx People walk down a dusty road in the West Bank carrying belongings.

Israeli demolition in East Jerusalem displaces 69 Palestinians

This article is published in association with United Nations. Sixty-nine Palestinians – more than half of them children – were displaced on Tuesday after Israeli authorities green lit the demolition of their residential building in the At Tur area of East Jerusalem, the UN aid coordination office (OCHA) has reported. This is the highest number of […]
This article is published in association with United Nations.

‘The clock on AI regulation is ticking’, warns UN rights chief

This article is published in association with United Nations. The world is running out of time to put guardrails on artificial intelligence, UN High Commissioner for Human Rights Volker Türk warned Monday, as a “ruthless race” between companies and countries raises concerns about human safety and even humanity’s survival. Speaking in the UK at an AI […]
© UNOCHA/Alina Basiuk A school in Ukraine lies in ruins after being hit by a missile.

Ukraine war ‘a human rights catastrophe’ that must end, says Türk

This article is published in association with United Nations. Human Rights The war in Ukraine is a human rights catastrophe that is “growing and intensifying by the week” and threatening an even greater disaster across the region, UN High Commissioner for Human Rights Volker Türk said on Friday. Addressing the Human Rights Council in Geneva, Mr. […]
UN News Massive tent settlement of displaced residents extends along the damaged Gaza coastline.

Palestinians yearn for ‘a return to normal life’, says top Middle East peace envoy

This article is published in association with United Nations. The UN is continuing efforts to support Palestinians in Gaza amid major challenges to humanitarian access, reconstruction and the restoration of essential services, according to Ramiz Alakbarov, Acting UN Special Coordinator for the Middle East Peace Process. Speaking to UN News on the margins of the UN […]
©UNIFIL/Tilak Pokharel UNIFIL personnel distribute food kits to displaced families in Saida, Lebanon (file).

Lebanon: One in five children goes to bed hungry, says UNICEF

This article is published in association with United Nations. Four in five households in Lebanon struggle to afford basic necessities today, with children increasingly going without food, missing school and being pushed into work as conflict compounds years of economic crisis. “I wanted to buy clothes for my children, but I could not. I also wanted […]

World News in Brief: Deadly Myanmar strikes as Malaysia begins deportations, new emergency funding released, Gaza and West Bank update

The UN chief on Tuesday strongly condemned an airstrike that reportedly killed at least 50 people at a market in Myanmar’s Rakhine state and called for those responsible to be held to account. Forces from the military junta reportedly hit Kyauktaw township around midday on Monday, when the market’s more than 200 shops were busy […]
This article is published in association with European Investment Bank.

EU provides €61 million in humanitarian aid amidst rapidly deteriorating situation in Ethiopia

This article is brought to you in association with the European Commission. Amid fears of renewed conflict in Northern Ethiopia, the European Union is providing €61 million in humanitarian funding to help the most vulnerable people in Ethiopia affected by conflict, displacement, disease outbreaks and climate-related hazards, including the impact of El Niño. The European Union […]
© UNDP A worker installs solar panels in Lanao del Sur in the Philippines.

From energy crisis to energy transition: How renewables are reshaping energy security

This article is published in association with United Nations. The continuing conflict in the Middle East is disrupting global energy markets and pushing up fuel prices, with knock-on effects far beyond the region. For Francesco La Camera, Director-General of the International Renewable Energy Agency (IRENA), the crisis is also reshaping how the world understands the phrase […]
Countries adopted on Saturday a new global blueprint for tackling rapidly evolving forms of crime, as the UN’s largest gathering on crime prevention and criminal justice opened in Abu Dhabi with a call for stronger international cooperation. The Abu Dhabi Declaration was adopted by acclamation at the opening of the 15th United Nations Congress on Crime Prevention and Criminal Justice, bringing governments together around challenges ranging from cybercrime and fraud to the growing criminal exploitation of digital technology. The Declaration highlights an increasingly complex landscape in which services, infrastructure and technology can be exploited by criminals, including emerging trends described as “crime as a service” and “violence as a service”. At the same time, countries committed to making greater use of technology themselves, including by digitalizing justice systems and harnessing artificial intelligence in criminal justice responses. The Declaration stresses that safeguards must accompany those changes, including human oversight, transparency, due process and data protection. ‘Justice cannot be a privilege’ In a video message to the Congress, UN Deputy Secretary-General Amina Mohammed said the meeting was taking place at a time of profound change. “Justice cannot be a privilege. It must protect every person, uphold every person’s rights and leave no one behind,” said Ms. Mohamed. “This Congress is an opportunity to renew our shared commitment to justice and the rule of law, and to translate that commitment into action.” Countries are already being encouraged to put the Declaration into practice through the voluntary Pledge4Justice initiative, under which participating governments are announcing concrete, time-bound actions on crime prevention and criminal justice through 2031. The Abu Dhabi National Exhibition Centre with its curved glass tower and surrounding buildings reflected in calm water at dusk. UNODC The Abu Dhabi National Exhibition Centre where the 15th UN Crime Congress is set to take place. From Kyoto to Abu Dhabi Opening the Congress, UN Office on Drugs and Crime (UNODC) Executive Director Monica Juma framed the gathering as both a response to a changing criminal landscape and a test of international cooperation. “Today, the world convenes in Abu Dhabi to reaffirm that the rule of law and criminal justice are essential to the safety and security of people and the planet,” said Ms. Juma. “At a time when confidence in multilateralism is faltering, let Abu Dhabi be a testament to international cooperation.” Five years after the previous Congress in Kyoto, Japan, Ms. Juma said the world had reached another “inflection point”, with technology and artificial intelligence advancing at extraordinary speed. The same platforms connecting billions of people can also connect criminals, she warned, while digital currencies can conceal illicit profits and digital tools can be used to deceive, manipulate and exploit. Technology, she argued, is not simply accelerating crime but changing its character, while organized criminal networks increasingly exploit weaknesses across borders and institutions. Tweet URL Protecting people as the ‘north star’ Behind those broad trends, Ms. Juma urged delegates to focus on the people most exposed to harm, including children recruited by gangs, women facing violence at home or online, people unable to obtain legal assistance and young people lured into scam networks with promises of a better future. “Protecting these people must be the measure against which we judge our efforts over the coming week,” she said. “It must be our north star.” She called for laws and institutions capable of keeping pace with changing threats, greater access to justice and legal aid, and technology that serves as “a force for good” rather than an accelerator of harm. And while welcoming the Abu Dhabi Declaration as a starting point, Ms. Juma stressed that its impact would ultimately depend on implementation. A week focused on justice Hosted by the United Arab Emirates, the Congress runs through 1 October under the theme Protecting People and Planet in the Digital Age. Some 119 countries are represented, alongside more than 40 justice ministers and other senior officials, with over 5,100 participants from governments, civil society, academia and the private sector. Plenary meetings, workshops, side events and exhibitions will run throughout the session. Organizers are also billing this as the most youth-inclusive Crime Congress yet. Young people are participating in workshops, contributing to follow-up efforts and taking part in a dedicated Youth Lab and art exhibition, following a Youth Forum held ahead of the Congress on 24 and 25 September. UNODC serves as secretariat of the Congress and will support implementation of the Abu Dhabi Declaration.

Countries adopt global blueprint to tackle fast-evolving crime in digital age

This article is published in association with United Nations. Countries adopted on Saturday a new global blueprint for tackling rapidly evolving forms of crime, as the UN’s largest gathering on crime prevention and criminal justice opened in Abu Dhabi with a call for stronger international cooperation. The Abu Dhabi Declaration was adopted by acclamation at the […]
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 […]

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