class_docstr: A stream backed corpus view specialized for use with the BNC corpus.
docstr: :param fileid: The name of the underlying file.
  :param unit: One of `'token'`, `'word'`, or `'chunk'`.
  :param bracket_sent: If true, include sentence bracketing.
  :param pos_tag: Whether to include part-of-speech tags.
  :param sem_tag: Whether to include semantic tags, namely WordNet lemma
      and OOV named entity status.
docstr_tok: [":","param","fileid",":","The","name","of","the","underlying","file",".",":","param","unit",":","One","of","`","'token","'","`",",","`","'word","'","`",",","or","`","'chunk","'","`",".",":","param","bracket_sent",":","If","true",",","include","sentence","bracketing",".",":","param","pos_tag",":","Whether","to","include","part-of-speech","tags",".",":","param","sem_tag",":","Whether","to","include","semantic","tags",",","namely","WordNet","lemma","and","OOV","named","entity","status","."]
code: def __init__(
      self, fileid, unit, bracket_sent, pos_tag, sem_tag, wordnet
  ):
      """
      :param fileid: The name of the underlying file.
      :param unit: One of `'token'`, `'word'`, or `'chunk'`.
      :param bracket_sent: If true, include sentence bracketing.
      :param pos_tag: Whether to include part-of-speech tags.
      :param sem_tag: Whether to include semantic tags, namely WordNet lemma
          and OOV named entity status.
      """
      if bracket_sent:
          tagspec = ".*/s"
      else:
          tagspec = ".*/s/(punc|wf)"
  
      self._unit = unit
      self._sent = bracket_sent
      self._pos_tag = pos_tag
      self._sem_tag = sem_tag
      self._wordnet = wordnet
  
      XMLCorpusView.__init__(self, fileid, tagspec)
  
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 1 to create a new SemcorWordView object from inherited base classes: XMLCorpusView with example: obj = SemcorWordView(fileid, unit, bracket_sent, pos_tag, sem_tag, wordnet)