Mapping Languages
See original GitHub issueNoting that you have latitude and longitude metadata for languages, you can easily plot the languages on a map to show off the world distribution of languages supported.
This adds a dependency, but would help make for an easier way in to discovering languages by region?
In a Jupyter notebook:
import folium
m = folium.Map()
for lang in list(LANGUAGES):
folium.Marker(location=[LANGUAGES[lang].latitude, LANGUAGES[lang].longitude],
popup=f'{LANGUAGES[lang].name} ({lang})').add_to(m)
m
This approach might also be useful just as a quick check to make sure that markers look about right on the map…
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
23 maps and charts on language - Vox
This map shows the language in which the plurality of Wikipedia articles on a given country are written. Some countries match up.
Read more >What Are Language Maps? - TLTC Blogs |
Mapping languages can be done in geographical space. We can map a language's “homeland.” For instance, English spoken in the United States arguably...
Read more >Mapping Languages: The Corpus of Global Language Use
This paper describes a web-based corpus of global language use with a focus on how this corpus can be used for data-driven language...
Read more >Language Mapping
Mapping Linguistic Diversity in a Globalizing World through Open Source Digital Tools. Languages of New York City is a free and interactive digital...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I pulled this code out for a presentation and it worked really well. Recording here for posterity.
@kylepjohnson I guess my use case is more related to how
cltk
can be used to support authoring of simple learning materials, both from authoring and student activity perspective. To that end, the use cases will verge on the “not interesting” to folk developingcltk
for research purposes, although they may help provide an on ramp. If there are other simple-but-useful things I’m missing, if you let me know I can try to write examples around them.(You’re welcome to take the material for use as docs - they should be appropriately licensed. If not, I hereby grant
cltk
org a CC0 license with the rider that you at least CC-BY (or similar) them with at least acltk
attribution. I’m sorry I can’t commit to adding to your docs directly at the moment; I’m trying to cover a lot of other bases too so I’m working at a “good enough for a demo” rather than “strictly correct” documentation level…)