class_docstr: Interface to the Stanford Parser
class_docstr_tok: ["Interface","to","the","Stanford","Parser"]
code: def _parse_trees_output(self, output_):
      res = []
      cur_lines = []
      cur_trees = []
      blank = False
      for line in output_.splitlines(False):
          if line == "":
              if blank:
                  res.append(iter(cur_trees))
                  cur_trees = []
                  blank = False
              elif self._DOUBLE_SPACED_OUTPUT:
                  cur_trees.append(
                      self._make_tree("\n".join(cur_lines))
                  )
                  cur_lines = []
                  blank = True
              else:
                  res.append(
                      iter([self._make_tree("\n".join(cur_lines))])
                  )
                  cur_lines = []
          else:
              cur_lines.append(line)
              blank = False
      return iter(res)
  
imports: import os
  import tempfile
  import warnings
  from subprocess import PIPE
  from nltk.internals import _java_options, config_java, find_jar_iter, find_jars_within_path, java
  from nltk.parse.api import ParserI
  from nltk.parse.dependencygraph import DependencyGraph
  from nltk.tree import Tree
label_desc: Use image node_id 2 for calling the GenericStanfordParser obj's underlying member method code with example usage: obj._parse_trees_output(output_) and returns: iter