class_docstr: A stream backed corpus view specialized for use with
  ann_segmentation.xml files in NKJP corpus.
class_docstr_tok: ["A","stream","backed","corpus","view","specialized","for","use","with","ann_segmentation.xml","files","in","NKJP","corpus","."]
code: def handle_query(self):
      try:
          self._open()
          sentences = []
          while True:
              sent_segm = XMLCorpusView.read_block(self, self._stream)
              if len(sent_segm) == 0:
                  break
              for segm in sent_segm:
                  segm = self.remove_choice(segm)
                  sentences.append(self.get_sentences(segm))
          self.close()
          self.xml_tool.remove_preprocessed_file()
          return sentences
      except Exception as e:
          self.xml_tool.remove_preprocessed_file()
          raise Exception from e
  
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 7 for calling the NKJPCorpus_Segmentation_View obj's underlying member method code with example usage: obj.handle_query() and returns: sentences