List of language codes used in twitter (including API) (with Python dictionary). What is the most commonly used language?

Main subject First, in landscape orientation for input,

lang_dict.py


{'en': 'English', 'und': 'unknown', 'is': 'Icelandic', 'ay': 'Aymara', 'ga': 'Irish', 'az': 'Azerbaigen', 'as': 'Assamese', 'aa': 'Afar', 'ab': 'Aphazian', 'af': 'Afrikaans', 'am': 'Amharic', 'ar': 'Arabic', 'sq': 'Albanian', 'hy': 'Armenian', 'it': 'Italian', 'yi': 'Yiddish', 'iu': 'Inuktitut', 'ik': 'Inupia', 'ia': 'Interlingua', 'ie': 'Interlingue', 'in': 'Indonesian', 'ug': 'Uyghur', 'cy': 'Welsh', 'vo': 'Volapuk', 'wo': 'Wolof', 'uk': 'Ukrainian', 'uz': 'Uzbek', 'ur': 'Urdu', 'et': 'Estonian', 'eo': 'Esperanto', 'or': 'Orian', 'oc': 'Okitan', 'nl': 'Dutch', 'om': 'Oromo', 'kk': 'Kazakh', 'ks': 'Kashmir', 'ca': 'Catalan', 'gl': 'Galician', 'ko': 'Korean', 'kn': 'Kannada', 'km': 'Cambodian', 'rw': 'Kyawanda', 'el': 'Greek language', 'ky': 'Kyrgyz', 'rn': 'Kirundi', 'gn': 'Guarani', 'qu': 'Quetua', 'gu': 'Gujarati', 'kl': 'Greenlandic', 'ku': 'Kurdish', 'ckb': '中央Kurdish', 'hr': 'Croatian', 'gd': 'Gaelic', 'gv': 'Gaelic', 'xh': 'Xhosa', 'co': 'Corsican', 'sm': 'Samoan', 'sg': 'Sangho', 'sa': 'Sanskrit', 'ss': 'Swati', 'jv': 'Javanese', 'ka': 'Georgian', 'sn': 'Shona', 'sd': 'Sindhi', 'si': 'Sinhala', 'sv': 'Swedish', 'su': 'Sudanese', 'zu': 'Zulu', 'es': 'Spanish', 'sk': 'Slovak', 'sl': 'Slovenian', 'sw': 'Swahili', 'tn': 'Setswana', 'st': 'Seto', 'sr': 'Serbian', 'sh': 'セルボCroatian', 'so': 'Somali', 'th': 'Thai', 'tl': 'Tagalog', 'tg': 'Tajik', 'tt': 'Tatar', 'ta': 'Tamil', 'cs': 'Czech language', 'ti': 'Tigrinya', 'bo': 'Tibetan', 'zh': 'Chinese', 'ts': 'Zonga', 'te': 'Telugu', 'da': 'Danish', 'de': 'German', 'tw': 'Twi', 'tk': 'Turkmen', 'tr': 'Turkish language', 'to': 'Tongan', 'na': 'Nauruan', 'ja': 'Japanese', 'ne': 'Nepali', 'no': 'Norwegian', 'ht': 'Haitian', 'ha': 'Hausa', 'be': 'White Russian', 'ba': 'Bashkir', 'ps': 'Pasito', 'eu': 'Basque', 'hu': 'Hungarian', 'pa': 'Punjabi', 'bi': 'Bislama', 'bh': 'Bihari', 'my': 'Burmese', 'hi': 'Hindi', 'fj': 'Fijian', 'fi': 'Finnish', 'dz': 'Bhutanese', 'fo': 'Faroese', 'fr': 'French', 'fy': 'Frisian', 'bg': 'Bulgarian', 'br': 'Breton', 'vi': 'Vietnamese', 'iw': 'Hebrew', 'fa': 'Persian', 'bn': 'Bengali', 'pl': 'Polish', 'pt': 'Portuguese', 'mi': 'Maori', 'mk': 'Macedonian', 'mg': 'Malagasy', 'mr': 'Malata', 'ml': 'Malayalam', 'mt': 'Maltese', 'ms': 'Malay', 'mo': 'Moldavian', 'mn': 'Mongolian', 'yo': 'Yoruba', 'lo': 'Laota', 'la': 'Latin', 'lv': 'Latvian', 'lt': 'Lithuanian', 'ln': 'Lingala', 'li': 'Limburgish', 'ro': 'Romanian', 'rm': 'Rate romance', 'ru': 'Russian'}

Also, in portrait orientation for viewing (remove the line feed code if you want to use it)

lang_dict.py


{'en': 'English', 
 'und': 'unknown', 
 'is': 'Icelandic', 
 'ay': 'Aymara', 
 'ga': 'Irish', 
 'az': 'Azerbaigen', 
 'as': 'Assamese', 
 'aa': 'Afar', 
 'ab': 'Aphazian', 
 'af': 'Afrikaans', 
 'am': 'Amharic', 
 'ar': 'Arabic', 
 'sq': 'Albanian', 
 'hy': 'Armenian', 
 'it': 'Italian', 
 'yi': 'Yiddish', 
 'iu': 'Inuktitut', 
 'ik': 'Inupia', 
 'ia': 'Interlingua', 
 'ie': 'Interlingue', 
 'in': 'Indonesian', 
 'ug': 'Uyghur', 
 'cy': 'Welsh', 
 'vo': 'Volapuk', 
 'wo': 'Wolof', 
 'uk': 'Ukrainian', 
 'uz': 'Uzbek', 
 'ur': 'Urdu', 
 'et': 'Estonian', 
 'eo': 'Esperanto', 
 'or': 'Orian', 
 'oc': 'Okitan', 
 'nl': 'Dutch', 
 'om': 'Oromo', 
 'kk': 'Kazakh', 
 'ks': 'Kashmir', 
 'ca': 'Catalan', 
 'gl': 'Galician', 
 'ko': 'Korean', 
 'kn': 'Kannada', 
 'km': 'Cambodian', 
 'rw': 'Kyawanda', 
 'el': 'Greek language', 
 'ky': 'Kyrgyz', 
 'rn': 'Kirundi', 
 'gn': 'Guarani', 
 'qu': 'Quetua', 
 'gu': 'Gujarati', 
 'kl': 'Greenlandic', 
 'ku': 'Kurdish', 
 'ckb': 'Central Kurdish', 
 'hr': 'Croatian', 
 'gd': 'Gaelic', 
 'gv': 'Gaelic', 
 'xh': 'Xhosa', 
 'co': 'Corsican', 
 'sm': 'Samoan', 
 'sg': 'Sangho', 
 'sa': 'Sanskrit', 
 'ss': 'Swati', 
 'jv': 'Javanese', 
 'ka': 'Georgian', 
 'sn': 'Shona', 
 'sd': 'Sindhi', 
 'si': 'Sinhala', 
 'sv': 'Swedish', 
 'su': 'Sudanese', 
 'zu': 'Zulu', 
 'es': 'Spanish', 
 'sk': 'Slovak', 
 'sl': 'Slovenian', 
 'sw': 'Swahili', 
 'tn': 'Setswana', 
 'st': 'Seto', 
 'sr': 'Serbian', 
 'sh': 'Serbo Croatian', 
 'so': 'Somali', 
 'th': 'Thai', 
 'tl': 'Tagalog', 
 'tg': 'Tajik', 
 'tt': 'Tatar', 
 'ta': 'Tamil', 
 'cs': 'Czech language', 
 'ti': 'Tigrinya', 
 'bo': 'Tibetan', 
 'zh': 'Chinese', 
 'ts': 'Zonga', 
 'te': 'Telugu', 
 'da': 'Danish', 
 'de': 'German', 
 'tw': 'Twi', 
 'tk': 'Turkmen', 
 'tr': 'Turkish language', 
 'to': 'Tongan', 
 'na': 'Nauruan', 
 'ja': 'Japanese', 
 'ne': 'Nepali', 
 'no': 'Norwegian', 
 'ht': 'Haitian', 
 'ha': 'Hausa', 
 'be': 'White Russian', 
 'ba': 'Bashkir', 
 'ps': 'Pasito', 
 'eu': 'Basque', 
 'hu': 'Hungarian', 
 'pa': 'Punjabi', 
 'bi': 'Bislama', 
 'bh': 'Bihari', 
 'my': 'Burmese', 
 'hi': 'Hindi', 
 'fj': 'Fijian', 
 'fi': 'Finnish', 
 'dz': 'Bhutanese', 
 'fo': 'Faroese', 
 'fr': 'French', 
 'fy': 'Frisian', 
 'bg': 'Bulgarian', 
 'br': 'Breton', 
 'vi': 'Vietnamese', 
 'iw': 'Hebrew', 
 'fa': 'Persian', 
 'bn': 'Bengali', 
 'pl': 'Polish', 
 'pt': 'Portuguese', 
 'mi': 'Maori', 
 'mk': 'Macedonian', 
 'mg': 'Malagasy', 
 'mr': 'Malata', 
 'ml': 'Malayalam', 
 'mt': 'Maltese', 
 'ms': 'Malay', 
 'mo': 'Moldavian', 
 'mn': 'Mongolian', 
 'yo': 'Yoruba', 
 'lo': 'Laota', 
 'la': 'Latin', 
 'lv': 'Latvian', 
 'lt': 'Lithuanian', 
 'ln': 'Lingala', 
 'li': 'Limburgish', 
 'ro': 'Romanian', 
 'rm': 'Rate romance', 
 'ru': 'Russian'}

With English at the beginning, und is used when you do not understand because it is mixed with only images.

Commonly used languages are ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/522233/2d3c3eed-d37f-a413-aaaa-1a067e0ab461.png) When analyzing 920,000 tweets, it reached 52% in English and Japanese. Besides, if you color-code by region, ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/522233/0556e0eb-b670-70b4-dae9-60b6d7e8a038.png)

https://twitter.com/kenkensz9/status/1156926767140966400 https://twitter.com/kenkensz9/status/1156928680477655043

Please see here for details. Thank you very much.

fixed phrase I'm always on Twitter (@ kenkensz9) so if you have any questions I hope you like it!

Recommended Posts

List of language codes used in twitter (including API) (with Python dictionary). What is the most commonly used language?
Get the value of a specific key in a list from the dictionary type in the list with Python
Access the Twitter API in Python
[Introduction to Python] What is the most powerful programming language now?
What kind of programming language is Python?
Tweet using the Twitter API in Python
What is "mahjong" in the Python library? ??
Receive a list of the results of parallel processing in Python with starmap
What kind of book is the best-selling "Python Crash Course" in the world?
[Introduction to Python] What is the method of repeating with the continue statement?
What is the fastest way to create a reverse dictionary in python?
Tweet regularly with the Go language Twitter API
[Python] Sort the list of pathlib.Path in natural sort
What is wheezy in the Docker Python image?
Make a copy of the list in Python
Differences in the behavior of each LL language when the list index is skipped
Get information on the 100 most influential tech Twitter users in the world with python.
[CleanArchitecture with Python] Apply CleanArchitecture step by step to a simple API and try to understand "what kind of change is strong" in the code base.
How to get a list of files in the same directory with python
How to identify the element with the smallest number of characters in a Python list?
Second half of the first day of studying Python Try hitting the Twitter API with Bottle
I compared the speed of the reference of the python in list and the reference of the dictionary comprehension made from the in list.
What to do if the progress bar is not displayed in tqdm of python
How to check in Python if one of the elements of a list is in another list
How to count the number of occurrences of each element in the list in Python with weight
Crawl the URL contained in the twitter tweet with python
[Python] Outputs all combinations of elements in the list
Get the value of a specific key up to the specified index in the dictionary list in Python
Try scraping the data of COVID-19 in Tokyo with Python
Try hitting the Twitter API quickly and easily with Python
Create a list in Python with all followers on twitter
Calculate the square root of 2 in millions of digits with python
Get the number of specific elements in a python list
Let's touch the API of Netatmo Weather Station with Python. #Python #Netatmo
[Homology] Count the number of holes in data with Python
What is the default TLS version of the python requests module?
What beginners learned from the basics of variables in python
Let's run Fusion 360 with Python Part 11 Since there is no point along the path in the API, I thought of an alternative
In the python dictionary, if a non-existent key is accessed, initialize it with an arbitrary value
Use Twitter API with Python
[Python] What is pip? Explain the command list and how to use it with actual examples
Call the API with python3.
How is the progress? Let's get on with the boom ?? in Python
Output the contents of ~ .xlsx in the folder to HTML with Python
Crawling with Python and Twitter API 2-Implementation of user search function
[python] Get the rank of the values in List in ascending / descending order
Visualize the frequency of word occurrences in sentences with Word Cloud. [Python]
A class that summarizes frequently used methods in twitter api (python)
What to do when the value type is ambiguous in Python?
Get a list of files in a folder with python without a path
[Python] What to do when PEP8 is violated in the process of importing from the directory added to sys.path
[Completed version] Try to find out the number of residents in the town from the address list with Python
What is Python? What is it used for?
[Python] What is a with statement?
Getting the arXiv API in Python
Hit the Sesami API in Python
Specifying the date with the Twitter API
[Python] What is @? (About the decorator)
[python] What is the sorted key?
Hit the Etherpad-lite API with Python
Hit the web API in Python