class_docstr: Corpus reader for the York-Toronto-Helsinki Parsed Corpus of Old
  English Prose (YCOE), a 1.5 million word syntactically-annotated
  corpus of Old English prose texts.
class_docstr_tok: ["Corpus","reader","for","the","York-Toronto-Helsinki","Parsed","Corpus","of","Old","English","Prose","(","YCOE",")",",","a","1.5","million","word","syntactically-annotated","corpus","of","Old","English","prose","texts","."]
docstr: Return a list of document identifiers for all documents in
  this corpus, or for the documents with the given file(s) if
  specified.
docstr_tok: ["Return","a","list","of","document","identifiers","for","all","documents","in","this","corpus",",","or","for","the","documents","with","the","given","file","(","s",")","if","specified","."]
code: def documents(self, fileids=None):
      """
      Return a list of document identifiers for all documents in
      this corpus, or for the documents with the given file(s) if
      specified.
      """
      if fileids is None:
          return self._documents
      if isinstance(fileids, str):
          fileids = [fileids]
      for f in fileids:
          if f not in self._fileids:
              raise KeyError("File id %s not found" % fileids)
      # Strip off the '.pos' and '.psd' extensions.
      return sorted({f[:-4] for f in fileids})
  
imports: import os
  import re
  from nltk.corpus.reader.api import *
  from nltk.corpus.reader.bracket_parse import BracketParseCorpusReader
  from nltk.corpus.reader.tagged import TaggedCorpusReader
  from nltk.corpus.reader.util import *
  from nltk.tokenize import RegexpTokenizer
label_desc: Use image node_id 2 for calling the YCOECorpusReader obj's underlying member method code with example usage: obj.documents(fileids) and returns: sorted, self