docstr: Construct a new SentiWordNet Corpus Reader, using data from
  the specified file.
docstr_tok: ["Construct","a","new","SentiWordNet","Corpus","Reader",",","using","data","from","the","specified","file","."]
code: def __init__(self, root, fileids, encoding="utf-8"):
      """
      Construct a new SentiWordNet Corpus Reader, using data from
      the specified file.
      """
      super().__init__(root, fileids, encoding=encoding)
      if len(self._fileids) != 1:
          raise ValueError("Exactly one file must be specified")
      self._db = {}
      self._parse_src_file()
  
file_path: nltk/nltk/corpus/reader/sentiwordnet.py
imports: import re
  from nltk.corpus.reader import CorpusReader
label_desc: Use image node_id 1 to create a new SentiWordNetCorpusReader object from inherited base classes: CorpusReader with example: obj = SentiWordNetCorpusReader(root, fileids, encoding)