class_docstr: Reader for the TIMIT corpus (or any other corpus with the same
  file layout and use of file formats).  The corpus root directory
  should contain the following files:
  
    - timitdic.txt: dictionary of standard transcriptions
    - spkrinfo.txt: table of speaker information
  
  In addition, the root directory should contain one subdirectory
  for each speaker, containing three files for each utterance:
  
    - <utterance-id>.txt: text content of utterances
    - <utterance-id>.wrd: tokenized text content of utterances
    - <utterance-id>.phn: phonetic transcription of utterances
    - <utterance-id>.wav: utterance sound file
class_docstr_tok: ["Reader","for","the","TIMIT","corpus","(","or","any","other","corpus","with","the","same","file","layout","and","use","of","file","formats",")",".","The","corpus","root","directory","should","contain","the","following","files",":","-","timitdic.txt",":","dictionary","of","standard","transcriptions","-","spkrinfo.txt",":","table","of","speaker","information","In","addition",",","the","root","directory","should","contain","one","subdirectory","for","each","speaker",",","containing","three","files","for","each","utterance",":","-","<","utterance-id",">",".txt",":","text","content","of","utterances","-","<","utterance-id",">",".wrd",":","tokenized","text","content","of","utterances","-","<","utterance-id",">",".phn",":","phonetic","transcription","of","utterances","-","<","utterance-id",">",".wav",":","utterance","sound","file"]
docstr: Return a list of file identifiers for the files that make up
  this corpus.
  
  :param filetype: If specified, then ``filetype`` indicates that
      only the files that have the given type should be
      returned.  Accepted values are: ``txt``, ``wrd``, ``phn``,
      ``wav``, or ``metadata``,
docstr_tok: ["Return","a","list","of","file","identifiers","for","the","files","that","make","up","this","corpus",".",":","param","filetype",":","If","specified",",","then","``","filetype","``","indicates","that","only","the","files","that","have","the","given","type","should","be","returned",".","Accepted","values","are",":","``","txt","``",",","``","wrd","``",",","``","phn","``",",","``","wav","``",",","or","``","metadata","``",","]
code: def fileids(self, filetype=None):
      """
      Return a list of file identifiers for the files that make up
      this corpus.
  
      :param filetype: If specified, then ``filetype`` indicates that
          only the files that have the given type should be
          returned.  Accepted values are: ``txt``, ``wrd``, ``phn``,
          ``wav``, or ``metadata``,
      """
      if filetype is None:
          return CorpusReader.fileids(self)
      elif filetype in ("txt", "wrd", "phn", "wav"):
          return [f"{u}.{filetype}" for u in self._utterances]
      elif filetype == "metadata":
          return ["timitdic.txt", "spkrinfo.txt"]
      else:
          raise ValueError("Bad value for filetype: %r" % filetype)
  
imports: import sys
  import time
  from nltk.corpus.reader.api import *
  from nltk.internals import import_from_stdlib
  from nltk.tree import Tree
label_desc: Use image node_id 2 for calling the TimitCorpusReader obj's underlying member method code with example usage: obj.fileids(filetype) and returns: CorpusReader, unknown, list