class_docstr: Corpus reader for the SemCor Corpus.
  For access to the complete XML data structure, use the ``xml()``
  method.  For access to simple word lists and tagged word lists, use
  ``words()``, ``sents()``, ``tagged_words()``, and ``tagged_sents()``.
docstr: :return: the given file(s) as a list of sentences. Each sentence
      is represented as a list of tagged chunks (in tree form).
  :rtype: list(list(Tree))
  
  :param tag: `'pos'` (part of speech), `'sem'` (semantic), or `'both'`
      to indicate the kind of tags to include.  Semantic tags consist of
      WordNet lemma IDs, plus an `'NE'` node if the chunk is a named entity
      without a specific entry in WordNet.  (Named entities of type 'other'
      have no lemma.  Other chunks not in WordNet have no semantic tag.
      Punctuation tokens have `None` for their part of speech tag.)
docstr_tok: [":","return",":","the","given","file","(","s",")","as","a","list","of","sentences",".","Each","sentence","is","represented","as","a","list","of","tagged","chunks","(","in","tree","form",")",".",":","rtype",":","list","(","list","(","Tree",")",")",":","param","tag",":","`","'pos","'","`","(","part","of","speech",")",",","`","'sem","'","`","(","semantic",")",",","or","`","'both","'","`","to","indicate","the","kind","of","tags","to","include",".","Semantic","tags","consist","of","WordNet","lemma","IDs",",","plus","an","`","'NE","'","`","node","if","the","chunk","is","a","named","entity","without","a","specific","entry","in","WordNet",".","(","Named","entities","of","type","'other'","have","no","lemma",".","Other","chunks","not","in","WordNet","have","no","semantic","tag",".","Punctuation","tokens","have","`","None","`","for","their","part","of","speech","tag",".",")"]
code: def tagged_sents(self, fileids=None, tag=("pos" or "sem" or "both")):
      """
      :return: the given file(s) as a list of sentences. Each sentence
          is represented as a list of tagged chunks (in tree form).
      :rtype: list(list(Tree))
  
      :param tag: `'pos'` (part of speech), `'sem'` (semantic), or `'both'`
          to indicate the kind of tags to include.  Semantic tags consist of
          WordNet lemma IDs, plus an `'NE'` node if the chunk is a named entity
          without a specific entry in WordNet.  (Named entities of type 'other'
          have no lemma.  Other chunks not in WordNet have no semantic tag.
          Punctuation tokens have `None` for their part of speech tag.)
      """
      return self._items(
          fileids, "chunk", True, tag != "sem", tag != "pos"
      )
  
imports: from nltk.corpus.reader.api import *
  from nltk.corpus.reader.xmldocs import XMLCorpusReader, XMLCorpusView
  from nltk.tree import Tree
label_desc: Use image node_id 7 for calling the SemcorCorpusReader obj's underlying member method code with example usage: obj.tagged_sents(fileids, tag) and returns: self