Skip to content

Commit

Permalink
Merge pull request #780 from PrimozGodec/fix-twitter
Browse files Browse the repository at this point in the history
[FIX] Twitter: adapt to APIv2
  • Loading branch information
ajdapretnar authored Mar 29, 2022
2 parents 74afffc + 5b37c41 commit 4a28f85
Show file tree
Hide file tree
Showing 5 changed files with 868 additions and 612 deletions.
22 changes: 22 additions & 0 deletions orangecontrib/text/language_codes.py
Original file line number Diff line number Diff line change
@@ -1,44 +1,64 @@
code2lang = {
"af": "Afrikaans",
"am": "Amharic",
"ar": "Arabic",
"bg": "Bulgarian",
"bn": "Bengali",
"bo": "Tibetan",
"ca": "Catalan",
"ckb": "Central Kurdish",
"cs": "Czech",
"cy": "Welsh",
"da": "Dannish",
"de": "German",
"dv": "Divehi",
"el": "Greek",
"en": "English",
"es": "Spanish",
"et": "Estonian",
"eu": "Basque",
"fa": "Persian",
"fi": "Finnish",
"fr": "French",
"gu": "Gujarati",
"he": "Hebrew",
"hi": "Hindi",
"hi-Latn": "Hindi (latin)",
"hr": "Croatian",
"hu": "Hungarian",
"ht": "Haitian",
"hy": "Armenian",
"id": "Indonesian",
"it": "Italian",
"is": "Icelandic",
"ja": "Japanese",
"ka": "Georgian",
"km": "Central Khmer",
"kn": "Kannada",
"ko": "Korean",
"lt": "Lithuanian",
"lv": "Latvian",
"lo": "Lao",
"mk": "Macedonian",
"ml": "Malayalam",
"mr": "Marathi",
"my": "Burmese",
"ne": "Nepali",
"nl": "Dutch",
"no": "Norwegian",
"or": "Oriya",
"pa": "Punjabi",
"pl": "Polish",
"pt": "Portuguese",
"ps": "Pashto",
"ro": "Romanian",
"ru": "Russian",
"sd": "Sindhi",
"si": "Sinhala",
"sk": "Slovak",
"sl": "Slovene",
"so": "Somali",
"sr": "Serbian",
"sq": "Albanian",
"sv": "Swedish",
"sw": "Swahili",
Expand All @@ -47,9 +67,11 @@
"th": "Thai",
"tl": "Tagalog",
"tr": "Turkish",
"ug": "Uighur",
"uk": "Ukrainian",
"ur": "Urdu",
"vi": "Vietnamese",
"zh": "Chinese",
"zh-cn": "Simplified Chinese",
"zh-tw": "Traditional Chinese",
}
Expand Down
Loading

0 comments on commit 4a28f85

Please sign in to comment.