class_docstr: Class for loading the content of the multext-east corpus. It
  parses the xml files and does some tag-filtering depending on the
  given method parameters.
class_docstr_tok: ["Class","for","loading","the","content","of","the","multext-east","corpus",".","It","parses","the","xml","files","and","does","some","tag-filtering","depending","on","the","given","method","parameters","."]
code: def _tagged_word_elt(cls, elt, context):
      if "ana" not in elt.attrib:
          return (elt.text, "")
  
      if cls.__tags == "" and cls.__tagset == "msd":
          return (elt.text, elt.attrib["ana"])
      elif cls.__tags == "" and cls.__tagset == "universal":
          return (
              elt.text,
              MTETagConverter.msd_to_universal(elt.attrib["ana"]),
          )
      else:
          tags = re.compile("^" + re.sub("-", ".", cls.__tags) + ".*$")
          if tags.match(elt.attrib["ana"]):
              if cls.__tagset == "msd":
                  return (elt.text, elt.attrib["ana"])
              else:
                  return (
                      elt.text,
                      MTETagConverter.msd_to_universal(
                          elt.attrib["ana"]
                      ),
                  )
          else:
              return None
  
imports: import os
  import re
  from functools import reduce
  from nltk.corpus.reader import TaggedCorpusReader, concat
  from nltk.corpus.reader.xmldocs import XMLCorpusView
label_desc: Use image node_id 5 for calling the MTEFileReader obj's underlying member method code with example usage: obj._tagged_word_elt(cls, elt, context) and returns: elt,  str, elt,  elt, elt,  MTETagConverter, None, elt,  elt, elt,  MTETagConverter