class_docstr: Parse BCP-47 composite language tags
  
  Supports all the main subtags, and the 'u-sd' extension:
  
  >>> from nltk.corpus import bcp47
  >>> bcp47.name('oc-gascon-u-sd-fr64')
  'Occitan (post 1500): Gascon: Pyrénées-Atlantiques'
  
  Can load a conversion table to Wikidata Q-codes:
  >>> bcp47.load_wiki_q()
  >>> bcp47.wiki_q['en-GI-spanglis']
  'Q79388'
docstr: Load conversion table to Wikidata Q-codes (only if needed)
docstr_tok: ["Load","conversion","table","to","Wikidata","Q-codes","(","only","if","needed",")"]
code: def load_wiki_q(self):
      """Load conversion table to Wikidata Q-codes (only if needed)"""
      with self.open(
          "cldr/tools-cldr-rdf-external-entityToCode.tsv"
      ) as fp:
          self.wiki_q = self.wiki_dict(
              fp.read().strip().split("\n")[1:]
          )
  
file_path: nltk/nltk/corpus/reader/bcp47.py
imports: import re
  from warnings import warn
  from xml.etree import ElementTree
  from nltk.corpus.reader import CorpusReader
label_desc: Use image node_id 2 for calling the BCP47CorpusReader obj's underlying member method code with example usage: obj.load_wiki_q() without return types