Package org.openrefine.wikibase.utils
Class LanguageCodeStore
- java.lang.Object
-
- org.openrefine.wikibase.utils.LanguageCodeStore
-
public class LanguageCodeStore extends Object
A store for the allowed language code for terms and monolingual text values in Wikibase. TODO: separate the languages allowed for terms from the ones allowed for monolingual text. Currently the list is for monolingual texts (which is larger). Query to update this list: curl "https://www.wikidata.org/w/api.php?action=query&meta=wbcontentlanguages&wbclprop=code&wbclcontext=monolingualtext&format=json" | jq ".query.wbcontentlanguages[].code" | sed -e "s/$/,/"- Author:
- Antonin Delpeuch
-
-
Constructor Summary
Constructors Constructor Description LanguageCodeStore()
-