{"id":14483165,"url":"https://github.com/bheinzerling/bpemb","last_synced_at":"2025-04-13T09:00:03.156Z","repository":{"id":60720807,"uuid":"105769029","full_name":"bheinzerling/bpemb","owner":"bheinzerling","description":"Pre-trained subword embeddings in 275 languages, based on Byte-Pair Encoding (BPE)","archived":false,"fork":false,"pushed_at":"2024-10-01T02:49:47.000Z","size":626,"stargazers_count":1208,"open_issues_count":5,"forks_count":103,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-04-06T05:14:47.020Z","etag":null,"topics":["embeddings","multilingual","natural-language-processing","nlp","subword-embeddings"],"latest_commit_sha":null,"homepage":"https://nlp.h-its.org/bpemb","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bheinzerling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-04T13:03:23.000Z","updated_at":"2025-04-03T07:46:31.000Z","dependencies_parsed_at":"2023-10-20T18:14:02.203Z","dependency_job_id":"7d8addc1-2074-45cb-8780-235e79172bb1","html_url":"https://github.com/bheinzerling/bpemb","commit_stats":{"total_commits":106,"total_committers":8,"mean_commits":13.25,"dds":"0.30188679245283023","last_synced_commit":"1c630358f6fd522925008aa749eccd01ca5633af"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bheinzerling%2Fbpemb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bheinzerling%2Fbpemb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bheinzerling%2Fbpemb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bheinzerling%2Fbpemb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bheinzerling","download_url":"https://codeload.github.com/bheinzerling/bpemb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688556,"owners_count":21145765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embeddings","multilingual","natural-language-processing","nlp","subword-embeddings"],"created_at":"2024-09-03T00:01:34.115Z","updated_at":"2025-04-13T09:00:03.132Z","avatar_url":"https://github.com/bheinzerling.png","language":"Python","funding_links":[],"categories":["Data","Textual Data","Python","Contents 列表","Datasets","Uncategorized"],"sub_categories":["Embeddings","Subword Embeddings","Embedding 词嵌入","Pre-Trained Word Vectors","Uncategorized"],"readme":"# BPEmb\n\nBPEmb is a collection of pre-trained subword embeddings in 275 languages, based on Byte-Pair Encoding (BPE) and trained on Wikipedia. Its intended use is as input for neural models in natural language processing.\n\n[Website](https://nlp.h-its.org/bpemb) ・ \n[Usage](#usage) ・ \n[Download](#downloads-for-each-language) ・ \n[MultiBPEmb](#multibpemb) ・ \n[Paper (pdf)](http://www.lrec-conf.org/proceedings/lrec2018/pdf/1049.pdf) ・ \n[Citing BPEmb](#citing-bpemb)\n\n\n\n## Usage\n\nInstall BPEmb with pip:\n\n```bash\npip install bpemb\n```\n\nEmbeddings and SentencePiece models will be downloaded automatically the first time you use them.\n\n```python\n\u003e\u003e\u003e from bpemb import BPEmb\n# load English BPEmb model with default vocabulary size (10k) and 50-dimensional embeddings\n\u003e\u003e\u003e bpemb_en = BPEmb(lang=\"en\", dim=50)\ndownloading https://nlp.h-its.org/bpemb/en/en.wiki.bpe.vs10000.model\ndownloading https://nlp.h-its.org/bpemb/en/en.wiki.bpe.vs10000.d50.w2v.bin.tar.gz\n```\n\nYou can do two main things with BPEmb. The first is subword segmentation:\n```python\n# apply English BPE subword segmentation model\n\u003e\u003e\u003e bpemb_en.encode(\"Stratford\")\n['▁strat', 'ford']\n# load Chinese BPEmb model with vocabulary size 100k and default (100-dim) embeddings\n\u003e\u003e\u003e bpemb_zh = BPEmb(lang=\"zh\", vs=100000)\n# apply Chinese BPE subword segmentation model\n\u003e\u003e\u003e bpemb_zh.encode(\"这是一个中文句子\")  # \"This is a Chinese sentence.\"\n['▁这是一个', '中文', '句子']  # [\"This is a\", \"Chinese\", \"sentence\"]\n```\n\nIf / how a word gets split depends on the vocabulary size. Generally, a smaller vocabulary size will yield a segmentation into many subwords, while a large vocabulary size will result in frequent words not being split:\n\n| vocabulary size | segmentation |\n| --- | --- |\n| 1000 | ['▁str', 'at', 'f', 'ord'] |\n| 3000 |  ['▁str', 'at', 'ford'] |\n| 5000 | ['▁str', 'at', 'ford'] |\n| 10000 | ['▁strat', 'ford'] |\n| 25000 | ['▁stratford'] |\n| 50000 | ['▁stratford'] |\n| 100000 | ['▁stratford'] |\n| 200000 | ['▁stratford'] |\n\n\nThe second purpose of BPEmb is to provide pretrained subword embeddings:\n\n```python\n# Embeddings are wrapped in a gensim KeyedVectors object\n\u003e\u003e\u003e type(bpemb_zh.emb)\ngensim.models.keyedvectors.Word2VecKeyedVectors\n# You can use BPEmb objects like gensim KeyedVectors\n\u003e\u003e\u003e bpemb_en.most_similar(\"ford\")\n[('bury', 0.8745079040527344),\n ('ton', 0.8725000619888306),\n ('well', 0.871537446975708),\n ('ston', 0.8701574206352234),\n ('worth', 0.8672043085098267),\n ('field', 0.859795331954956),\n ('ley', 0.8591548204421997),\n ('ington', 0.8126075267791748),\n ('bridge', 0.8099068999290466),\n ('brook', 0.7979353070259094)]\n\u003e\u003e\u003e type(bpemb_en.vectors)\nnumpy.ndarray\n\u003e\u003e\u003e bpemb_en.vectors.shape\n(10000, 50)\n\u003e\u003e\u003e bpemb_zh.vectors.shape\n(100000, 100)\n```\n\nTo use subword embeddings in your neural network, either encode your input into subword IDs:\n```python\n\u003e\u003e\u003e ids = bpemb_zh.encode_ids(\"这是一个中文句子\")\n[25950, 695, 20199]\n\u003e\u003e\u003e bpemb_zh.vectors[ids].shape\n(3, 100)\n```\n\nOr use the `embed` method:\n```python\n# apply Chinese subword segmentation and perform embedding lookup\n\u003e\u003e\u003e bpemb_zh.embed(\"这是一个中文句子\").shape\n(3, 100)\n```\n\n# Downloads for each language\n\n[ab (Abkhazian)](http://nlp.h-its.org/bpemb/ab) ・ \n[ace (Achinese)](http://nlp.h-its.org/bpemb/ace) ・ \n[ady (Adyghe)](http://nlp.h-its.org/bpemb/ady) ・ \n[af (Afrikaans)](http://nlp.h-its.org/bpemb/af) ・ \n[ak (Akan)](http://nlp.h-its.org/bpemb/ak) ・ \n[als (Alemannic)](http://nlp.h-its.org/bpemb/als) ・ \n[am (Amharic)](http://nlp.h-its.org/bpemb/am) ・ \n[an (Aragonese)](http://nlp.h-its.org/bpemb/an) ・ \n[ang (Old English)](http://nlp.h-its.org/bpemb/ang) ・ \n[ar (Arabic)](http://nlp.h-its.org/bpemb/ar) ・ \n[arc (Official Aramaic)](http://nlp.h-its.org/bpemb/arc) ・ \n[arz (Egyptian Arabic)](http://nlp.h-its.org/bpemb/arz) ・ \n[as (Assamese)](http://nlp.h-its.org/bpemb/as) ・ \n[ast (Asturian)](http://nlp.h-its.org/bpemb/ast) ・ \n[atj (Atikamekw)](http://nlp.h-its.org/bpemb/atj) ・ \n[av (Avaric)](http://nlp.h-its.org/bpemb/av) ・ \n[ay (Aymara)](http://nlp.h-its.org/bpemb/ay) ・ \n[az (Azerbaijani)](http://nlp.h-its.org/bpemb/az) ・ \n[azb (South Azerbaijani)](http://nlp.h-its.org/bpemb/azb)\n\n[ba (Bashkir)](http://nlp.h-its.org/bpemb/ba) ・ \n[bar (Bavarian)](http://nlp.h-its.org/bpemb/bar) ・ \n[bcl (Central Bikol)](http://nlp.h-its.org/bpemb/bcl) ・ \n[be (Belarusian)](http://nlp.h-its.org/bpemb/be) ・ \n[bg (Bulgarian)](http://nlp.h-its.org/bpemb/bg) ・ \n[bi (Bislama)](http://nlp.h-its.org/bpemb/bi) ・ \n[bjn (Banjar)](http://nlp.h-its.org/bpemb/bjn) ・ \n[bm (Bambara)](http://nlp.h-its.org/bpemb/bm) ・ \n[bn (Bengali)](http://nlp.h-its.org/bpemb/bn) ・ \n[bo (Tibetan)](http://nlp.h-its.org/bpemb/bo) ・ \n[bpy (Bishnupriya)](http://nlp.h-its.org/bpemb/bpy) ・ \n[br (Breton)](http://nlp.h-its.org/bpemb/br) ・ \n[bs (Bosnian)](http://nlp.h-its.org/bpemb/bs) ・ \n[bug (Buginese)](http://nlp.h-its.org/bpemb/bug) ・ \n[bxr (Russia Buriat)](http://nlp.h-its.org/bpemb/bxr)\n\n[ca (Catalan)](http://nlp.h-its.org/bpemb/ca) ・ \n[cdo (Min Dong Chinese)](http://nlp.h-its.org/bpemb/cdo) ・ \n[ce (Chechen)](http://nlp.h-its.org/bpemb/ce) ・ \n[ceb (Cebuano)](http://nlp.h-its.org/bpemb/ceb) ・ \n[ch (Chamorro)](http://nlp.h-its.org/bpemb/ch) ・ \n[chr (Cherokee)](http://nlp.h-its.org/bpemb/chr) ・ \n[chy (Cheyenne)](http://nlp.h-its.org/bpemb/chy) ・ \n[ckb (Central Kurdish)](http://nlp.h-its.org/bpemb/ckb) ・ \n[co (Corsican)](http://nlp.h-its.org/bpemb/co) ・ \n[cr (Cree)](http://nlp.h-its.org/bpemb/cr) ・ \n[crh (Crimean Tatar)](http://nlp.h-its.org/bpemb/crh) ・ \n[cs (Czech)](http://nlp.h-its.org/bpemb/cs) ・ \n[csb (Kashubian)](http://nlp.h-its.org/bpemb/csb) ・ \n[cu (Church Slavic)](http://nlp.h-its.org/bpemb/cu) ・ \n[cv (Chuvash)](http://nlp.h-its.org/bpemb/cv) ・ \n[cy (Welsh)](http://nlp.h-its.org/bpemb/cy)\n\n[da (Danish)](http://nlp.h-its.org/bpemb/da) ・ \n[de (German)](http://nlp.h-its.org/bpemb/de) ・ \n[din (Dinka)](http://nlp.h-its.org/bpemb/din) ・ \n[diq (Dimli)](http://nlp.h-its.org/bpemb/diq) ・ \n[dsb (Lower Sorbian)](http://nlp.h-its.org/bpemb/dsb) ・ \n[dty (Dotyali)](http://nlp.h-its.org/bpemb/dty) ・ \n[dv (Dhivehi)](http://nlp.h-its.org/bpemb/dv) ・ \n[dz (Dzongkha)](http://nlp.h-its.org/bpemb/dz)\n\n[ee (Ewe)](http://nlp.h-its.org/bpemb/ee) ・ \n[el (Modern Greek)](http://nlp.h-its.org/bpemb/el) ・ \n[en (English)](http://nlp.h-its.org/bpemb/en) ・ \n[eo (Esperanto)](http://nlp.h-its.org/bpemb/eo) ・ \n[es (Spanish)](http://nlp.h-its.org/bpemb/es) ・ \n[et (Estonian)](http://nlp.h-its.org/bpemb/et) ・ \n[eu (Basque)](http://nlp.h-its.org/bpemb/eu) ・ \n[ext (Extremaduran)](http://nlp.h-its.org/bpemb/ext)\n\n[fa (Persian)](http://nlp.h-its.org/bpemb/fa) ・ \n[ff (Fulah)](http://nlp.h-its.org/bpemb/ff) ・ \n[fi (Finnish)](http://nlp.h-its.org/bpemb/fi) ・ \n[fj (Fijian)](http://nlp.h-its.org/bpemb/fj) ・ \n[fo (Faroese)](http://nlp.h-its.org/bpemb/fo) ・ \n[fr (French)](http://nlp.h-its.org/bpemb/fr) ・ \n[frp (Arpitan)](http://nlp.h-its.org/bpemb/frp) ・ \n[frr (Northern Frisian)](http://nlp.h-its.org/bpemb/frr) ・ \n[fur (Friulian)](http://nlp.h-its.org/bpemb/fur) ・ \n[fy (Western Frisian)](http://nlp.h-its.org/bpemb/fy)\n\n[ga (Irish)](http://nlp.h-its.org/bpemb/ga) ・ \n[gag (Gagauz)](http://nlp.h-its.org/bpemb/gag) ・ \n[gan (Gan Chinese)](http://nlp.h-its.org/bpemb/gan) ・ \n[gd (Scottish Gaelic)](http://nlp.h-its.org/bpemb/gd) ・ \n[gl (Galician)](http://nlp.h-its.org/bpemb/gl) ・ \n[glk (Gilaki)](http://nlp.h-its.org/bpemb/glk) ・ \n[gn (Guarani)](http://nlp.h-its.org/bpemb/gn) ・ \n[gom (Goan Konkani)](http://nlp.h-its.org/bpemb/gom) ・ \n[got (Gothic)](http://nlp.h-its.org/bpemb/got) ・ \n[gu (Gujarati)](http://nlp.h-its.org/bpemb/gu) ・ \n[gv (Manx)](http://nlp.h-its.org/bpemb/gv)\n\n[ha (Hausa)](http://nlp.h-its.org/bpemb/ha) ・ \n[hak (Hakka Chinese)](http://nlp.h-its.org/bpemb/hak) ・ \n[haw (Hawaiian)](http://nlp.h-its.org/bpemb/haw) ・ \n[he (Hebrew)](http://nlp.h-its.org/bpemb/he) ・ \n[hi (Hindi)](http://nlp.h-its.org/bpemb/hi) ・ \n[hif (Fiji Hindi)](http://nlp.h-its.org/bpemb/hif) ・ \n[hr (Croatian)](http://nlp.h-its.org/bpemb/hr) ・ \n[hsb (Upper Sorbian)](http://nlp.h-its.org/bpemb/hsb) ・ \n[ht (Haitian)](http://nlp.h-its.org/bpemb/ht) ・ \n[hu (Hungarian)](http://nlp.h-its.org/bpemb/hu) ・ \n[hy (Armenian)](http://nlp.h-its.org/bpemb/hy)\n\n[ia (Interlingua)](http://nlp.h-its.org/bpemb/ia) ・ \n[id (Indonesian)](http://nlp.h-its.org/bpemb/id) ・ \n[ie (Interlingue)](http://nlp.h-its.org/bpemb/ie) ・ \n[ig (Igbo)](http://nlp.h-its.org/bpemb/ig) ・ \n[ik (Inupiaq)](http://nlp.h-its.org/bpemb/ik) ・ \n[ilo (Iloko)](http://nlp.h-its.org/bpemb/ilo) ・ \n[io (Ido)](http://nlp.h-its.org/bpemb/io) ・ \n[is (Icelandic)](http://nlp.h-its.org/bpemb/is) ・ \n[it (Italian)](http://nlp.h-its.org/bpemb/it) ・ \n[iu (Inuktitut)](http://nlp.h-its.org/bpemb/iu)\n\n[ja (Japanese)](http://nlp.h-its.org/bpemb/ja) ・ \n[jam (Jamaican Creole English)](http://nlp.h-its.org/bpemb/jam) ・ \n[jbo (Lojban)](http://nlp.h-its.org/bpemb/jbo) ・ \n[jv (Javanese)](http://nlp.h-its.org/bpemb/jv)\n\n[ka (Georgian)](http://nlp.h-its.org/bpemb/ka) ・ \n[kaa (Kara-Kalpak)](http://nlp.h-its.org/bpemb/kaa) ・ \n[kab (Kabyle)](http://nlp.h-its.org/bpemb/kab) ・ \n[kbd (Kabardian)](http://nlp.h-its.org/bpemb/kbd) ・ \n[kbp (Kabiyè)](http://nlp.h-its.org/bpemb/kbp) ・ \n[kg (Kongo)](http://nlp.h-its.org/bpemb/kg) ・ \n[ki (Kikuyu)](http://nlp.h-its.org/bpemb/ki) ・ \n[kk (Kazakh)](http://nlp.h-its.org/bpemb/kk) ・ \n[kl (Kalaallisut)](http://nlp.h-its.org/bpemb/kl) ・ \n[km (Central Khmer)](http://nlp.h-its.org/bpemb/km) ・ \n[kn (Kannada)](http://nlp.h-its.org/bpemb/kn) ・ \n[ko (Korean)](http://nlp.h-its.org/bpemb/ko) ・ \n[koi (Komi-Permyak)](http://nlp.h-its.org/bpemb/koi) ・ \n[krc (Karachay-Balkar)](http://nlp.h-its.org/bpemb/krc) ・ \n[ks (Kashmiri)](http://nlp.h-its.org/bpemb/ks) ・ \n[ksh (Kölsch)](http://nlp.h-its.org/bpemb/ksh) ・ \n[ku (Kurdish)](http://nlp.h-its.org/bpemb/ku) ・ \n[kv (Komi)](http://nlp.h-its.org/bpemb/kv) ・ \n[kw (Cornish)](http://nlp.h-its.org/bpemb/kw) ・ \n[ky (Kirghiz)](http://nlp.h-its.org/bpemb/ky)\n\n[la (Latin)](http://nlp.h-its.org/bpemb/la) ・ \n[lad (Ladino)](http://nlp.h-its.org/bpemb/lad) ・ \n[lb (Luxembourgish)](http://nlp.h-its.org/bpemb/lb) ・ \n[lbe (Lak)](http://nlp.h-its.org/bpemb/lbe) ・ \n[lez (Lezghian)](http://nlp.h-its.org/bpemb/lez) ・ \n[lg (Ganda)](http://nlp.h-its.org/bpemb/lg) ・ \n[li (Limburgan)](http://nlp.h-its.org/bpemb/li) ・ \n[lij (Ligurian)](http://nlp.h-its.org/bpemb/lij) ・ \n[lmo (Lombard)](http://nlp.h-its.org/bpemb/lmo) ・ \n[ln (Lingala)](http://nlp.h-its.org/bpemb/ln) ・ \n[lo (Lao)](http://nlp.h-its.org/bpemb/lo) ・ \n[lrc (Northern Luri)](http://nlp.h-its.org/bpemb/lrc) ・ \n[lt (Lithuanian)](http://nlp.h-its.org/bpemb/lt) ・ \n[ltg (Latgalian)](http://nlp.h-its.org/bpemb/ltg) ・ \n[lv (Latvian)](http://nlp.h-its.org/bpemb/lv)\n\n[mai (Maithili)](http://nlp.h-its.org/bpemb/mai) ・ \n[mdf (Moksha)](http://nlp.h-its.org/bpemb/mdf) ・ \n[mg (Malagasy)](http://nlp.h-its.org/bpemb/mg) ・ \n[mh (Marshallese)](http://nlp.h-its.org/bpemb/mh) ・ \n[mhr (Eastern Mari)](http://nlp.h-its.org/bpemb/mhr) ・ \n[mi (Maori)](http://nlp.h-its.org/bpemb/mi) ・ \n[min (Minangkabau)](http://nlp.h-its.org/bpemb/min) ・ \n[mk (Macedonian)](http://nlp.h-its.org/bpemb/mk) ・ \n[ml (Malayalam)](http://nlp.h-its.org/bpemb/ml) ・ \n[mn (Mongolian)](http://nlp.h-its.org/bpemb/mn) ・ \n[mr (Marathi)](http://nlp.h-its.org/bpemb/mr) ・ \n[mrj (Western Mari)](http://nlp.h-its.org/bpemb/mrj) ・ \n[ms (Malay)](http://nlp.h-its.org/bpemb/ms) ・ \n[mt (Maltese)](http://nlp.h-its.org/bpemb/mt) ・ \n[mwl (Mirandese)](http://nlp.h-its.org/bpemb/mwl) ・ \n[my (Burmese)](http://nlp.h-its.org/bpemb/my) ・ \n[myv (Erzya)](http://nlp.h-its.org/bpemb/myv) ・ \n[mzn (Mazanderani)](http://nlp.h-its.org/bpemb/mzn)\n\n[na (Nauru)](http://nlp.h-its.org/bpemb/na) ・ \n[nap (Neapolitan)](http://nlp.h-its.org/bpemb/nap) ・ \n[nds (Low German)](http://nlp.h-its.org/bpemb/nds) ・ \n[ne (Nepali)](http://nlp.h-its.org/bpemb/ne) ・ \n[new (Newari)](http://nlp.h-its.org/bpemb/new) ・ \n[ng (Ndonga)](http://nlp.h-its.org/bpemb/ng) ・ \n[nl (Dutch)](http://nlp.h-its.org/bpemb/nl) ・ \n[nn (Norwegian Nynorsk)](http://nlp.h-its.org/bpemb/nn) ・ \n[no (Norwegian)](http://nlp.h-its.org/bpemb/no) ・ \n[nov (Novial)](http://nlp.h-its.org/bpemb/nov) ・ \n[nrm (Narom)](http://nlp.h-its.org/bpemb/nrm) ・ \n[nso (Pedi)](http://nlp.h-its.org/bpemb/nso) ・ \n[nv (Navajo)](http://nlp.h-its.org/bpemb/nv) ・ \n[ny (Nyanja)](http://nlp.h-its.org/bpemb/ny)\n\n[oc (Occitan)](http://nlp.h-its.org/bpemb/oc) ・ \n[olo (Livvi)](http://nlp.h-its.org/bpemb/olo) ・ \n[om (Oromo)](http://nlp.h-its.org/bpemb/om) ・ \n[or (Oriya)](http://nlp.h-its.org/bpemb/or) ・ \n[os (Ossetian)](http://nlp.h-its.org/bpemb/os)\n\n[pa (Panjabi)](http://nlp.h-its.org/bpemb/pa) ・ \n[pag (Pangasinan)](http://nlp.h-its.org/bpemb/pag) ・ \n[pam (Pampanga)](http://nlp.h-its.org/bpemb/pam) ・ \n[pap (Papiamento)](http://nlp.h-its.org/bpemb/pap) ・ \n[pcd (Picard)](http://nlp.h-its.org/bpemb/pcd) ・ \n[pdc (Pennsylvania German)](http://nlp.h-its.org/bpemb/pdc) ・ \n[pfl (Pfaelzisch)](http://nlp.h-its.org/bpemb/pfl) ・ \n[pi (Pali)](http://nlp.h-its.org/bpemb/pi) ・ \n[pih (Pitcairn-Norfolk)](http://nlp.h-its.org/bpemb/pih) ・ \n[pl (Polish)](http://nlp.h-its.org/bpemb/pl) ・ \n[pms (Piemontese)](http://nlp.h-its.org/bpemb/pms) ・ \n[pnb (Western Panjabi)](http://nlp.h-its.org/bpemb/pnb) ・ \n[pnt (Pontic)](http://nlp.h-its.org/bpemb/pnt) ・ \n[ps (Pushto)](http://nlp.h-its.org/bpemb/ps) ・ \n[pt (Portuguese)](http://nlp.h-its.org/bpemb/pt)\n\n[qu (Quechua)](http://nlp.h-its.org/bpemb/qu)\n\n[rm (Romansh)](http://nlp.h-its.org/bpemb/rm) ・ \n[rmy (Vlax Romani)](http://nlp.h-its.org/bpemb/rmy) ・ \n[rn (Rundi)](http://nlp.h-its.org/bpemb/rn) ・ \n[ro (Romanian)](http://nlp.h-its.org/bpemb/ro) ・ \n[ru (Russian)](http://nlp.h-its.org/bpemb/ru) ・ \n[rue (Rusyn)](http://nlp.h-its.org/bpemb/rue) ・ \n[rw (Kinyarwanda)](http://nlp.h-its.org/bpemb/rw)\n\n[sa (Sanskrit)](http://nlp.h-its.org/bpemb/sa) ・ \n[sah (Yakut)](http://nlp.h-its.org/bpemb/sah) ・ \n[sc (Sardinian)](http://nlp.h-its.org/bpemb/sc) ・ \n[scn (Sicilian)](http://nlp.h-its.org/bpemb/scn) ・ \n[sco (Scots)](http://nlp.h-its.org/bpemb/sco) ・ \n[sd (Sindhi)](http://nlp.h-its.org/bpemb/sd) ・ \n[se (Northern Sami)](http://nlp.h-its.org/bpemb/se) ・ \n[sg (Sango)](http://nlp.h-its.org/bpemb/sg) ・ \n[sh (Serbo-Croatian)](http://nlp.h-its.org/bpemb/sh) ・ \n[si (Sinhala)](http://nlp.h-its.org/bpemb/si) ・ \n[sk (Slovak)](http://nlp.h-its.org/bpemb/sk) ・ \n[sl (Slovenian)](http://nlp.h-its.org/bpemb/sl) ・ \n[sm (Samoan)](http://nlp.h-its.org/bpemb/sm) ・ \n[sn (Shona)](http://nlp.h-its.org/bpemb/sn) ・ \n[so (Somali)](http://nlp.h-its.org/bpemb/so) ・ \n[sq (Albanian)](http://nlp.h-its.org/bpemb/sq) ・ \n[sr (Serbian)](http://nlp.h-its.org/bpemb/sr) ・ \n[srn (Sranan Tongo)](http://nlp.h-its.org/bpemb/srn) ・ \n[ss (Swati)](http://nlp.h-its.org/bpemb/ss) ・ \n[st (Southern Sotho)](http://nlp.h-its.org/bpemb/st) ・ \n[stq (Saterfriesisch)](http://nlp.h-its.org/bpemb/stq) ・ \n[su (Sundanese)](http://nlp.h-its.org/bpemb/su) ・ \n[sv (Swedish)](http://nlp.h-its.org/bpemb/sv) ・ \n[sw (Swahili)](http://nlp.h-its.org/bpemb/sw) ・ \n[szl (Silesian)](http://nlp.h-its.org/bpemb/szl)\n\n[ta (Tamil)](http://nlp.h-its.org/bpemb/ta) ・ \n[tcy (Tulu)](http://nlp.h-its.org/bpemb/tcy) ・ \n[te (Telugu)](http://nlp.h-its.org/bpemb/te) ・ \n[tet (Tetum)](http://nlp.h-its.org/bpemb/tet) ・ \n[tg (Tajik)](http://nlp.h-its.org/bpemb/tg) ・ \n[th (Thai)](http://nlp.h-its.org/bpemb/th) ・ \n[ti (Tigrinya)](http://nlp.h-its.org/bpemb/ti) ・ \n[tk (Turkmen)](http://nlp.h-its.org/bpemb/tk) ・ \n[tl (Tagalog)](http://nlp.h-its.org/bpemb/tl) ・ \n[tn (Tswana)](http://nlp.h-its.org/bpemb/tn) ・ \n[to (Tonga)](http://nlp.h-its.org/bpemb/to) ・ \n[tpi (Tok Pisin)](http://nlp.h-its.org/bpemb/tpi) ・ \n[tr (Turkish)](http://nlp.h-its.org/bpemb/tr) ・ \n[ts (Tsonga)](http://nlp.h-its.org/bpemb/ts) ・ \n[tt (Tatar)](http://nlp.h-its.org/bpemb/tt) ・ \n[tum (Tumbuka)](http://nlp.h-its.org/bpemb/tum) ・ \n[tw (Twi)](http://nlp.h-its.org/bpemb/tw) ・ \n[ty (Tahitian)](http://nlp.h-its.org/bpemb/ty) ・ \n[tyv (Tuvinian)](http://nlp.h-its.org/bpemb/tyv)\n\n[udm (Udmurt)](http://nlp.h-its.org/bpemb/udm) ・ \n[ug (Uighur)](http://nlp.h-its.org/bpemb/ug) ・ \n[uk (Ukrainian)](http://nlp.h-its.org/bpemb/uk) ・ \n[ur (Urdu)](http://nlp.h-its.org/bpemb/ur) ・ \n[uz (Uzbek)](http://nlp.h-its.org/bpemb/uz)\n\n[ve (Venda)](http://nlp.h-its.org/bpemb/ve) ・ \n[vec (Venetian)](http://nlp.h-its.org/bpemb/vec) ・ \n[vep (Veps)](http://nlp.h-its.org/bpemb/vep) ・ \n[vi (Vietnamese)](http://nlp.h-its.org/bpemb/vi) ・ \n[vls (Vlaams)](http://nlp.h-its.org/bpemb/vls) ・ \n[vo (Volapük)](http://nlp.h-its.org/bpemb/vo)\n\n[wa (Walloon)](http://nlp.h-its.org/bpemb/wa) ・ \n[war (Waray)](http://nlp.h-its.org/bpemb/war) ・ \n[wo (Wolof)](http://nlp.h-its.org/bpemb/wo) ・ \n[wuu (Wu Chinese)](http://nlp.h-its.org/bpemb/wuu)\n\n[xal (Kalmyk)](http://nlp.h-its.org/bpemb/xal) ・ \n[xh (Xhosa)](http://nlp.h-its.org/bpemb/xh) ・ \n[xmf (Mingrelian)](http://nlp.h-its.org/bpemb/xmf)\n\n[yi (Yiddish)](http://nlp.h-its.org/bpemb/yi) ・ \n[yo (Yoruba)](http://nlp.h-its.org/bpemb/yo)\n\n[za (Zhuang)](http://nlp.h-its.org/bpemb/za) ・ \n[zea (Zeeuws)](http://nlp.h-its.org/bpemb/zea) ・ \n[zh (Chinese)](http://nlp.h-its.org/bpemb/zh) ・ \n[zu (Zulu)](http://nlp.h-its.org/bpemb/zu)\n\n## MultiBPEmb\n\n[multi (multilingual)](http://nlp.h-its.org/bpemb/multi)\n\n## Citing BPEmb\n\nIf you use BPEmb in academic work, please cite:\n\n```\n@InProceedings{heinzerling2018bpemb,\n  author = {Benjamin Heinzerling and Michael Strube},\n  title = \"{BPEmb: Tokenization-free Pre-trained Subword Embeddings in 275 Languages}\",\n  booktitle = {Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018)},\n  year = {2018},\n  month = {May 7-12, 2018},\n  address = {Miyazaki, Japan},\n  editor = {Nicoletta Calzolari (Conference chair) and Khalid Choukri and Christopher Cieri and Thierry Declerck and Sara Goggi and Koiti Hasida and Hitoshi Isahara and Bente Maegaard and Joseph Mariani and Hélène Mazo and Asuncion Moreno and Jan Odijk and Stelios Piperidis and Takenobu Tokunaga},\n  publisher = {European Language Resources Association (ELRA)},\n  isbn = {979-10-95546-00-9},\n  language = {english}\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbheinzerling%2Fbpemb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbheinzerling%2Fbpemb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbheinzerling%2Fbpemb/lists"}