class_docstr: A stream backed corpus view specialized for use with
  ann_morphosyntax.xml files in NKJP corpus.
class_docstr_tok: ["A","stream","backed","corpus","view","specialized","for","use","with","ann_morphosyntax.xml","files","in","NKJP","corpus","."]
code: def handle_elt(self, elt, context):
      word = ""
      flag = False
      is_not_interp = True
      # if tags not specified, then always return word
      if self.tags is None:
          flag = True
  
      for child in elt:
          # get word
          if "name" in child.keys() and child.attrib["name"] == "orth":
              for symbol in child:
                  if symbol.tag == "string":
                      word = symbol.text
          elif (
              "name" in child.keys()
              and child.attrib["name"] == "interps"
          ):
              for symbol in child:
                  if (
                      "type" in symbol.keys()
                      and symbol.attrib["type"] == "lex"
                  ):
                      for symbol2 in symbol:
                          if (
                              "name" in symbol2.keys()
                              and symbol2.attrib["name"] == "ctag"
                          ):
                              for symbol3 in symbol2:
                                  if (
                                      "value" in symbol3.keys()
                                      and self.tags is not None
                                      and symbol3.attrib["value"]
                                      in self.tags
                                  ):
                                      flag = True
                                  elif (
                                      "value" in symbol3.keys()
                                      and symbol3.attrib["value"]
                                      == "interp"
                                  ):
                                      is_not_interp = False
      if flag and is_not_interp:
          return word
  
imports: import functools
  import os
  import re
  import tempfile
  from nltk.corpus.reader.util import concat
  from nltk.corpus.reader.xmldocs import XMLCorpusReader, XMLCorpusView
label_desc: Use image node_id 3 for calling the NKJPCorpus_Morph_View obj's underlying member method code with example usage: obj.handle_elt(elt, context) and returns: word