parameters: (term, searcher)
return_statement: return idf(searcher.docFreq(term), searcher.maxDoc())
docstring: Use maxDoc() instead of numDocs() because its proportional to docFreq(),
      i.e., when one is inaccurate, so is the other, and in the same way.
docstring_summary: Use maxDoc() instead of numDocs() because its proportional to docFreq(),
      i.e., when one is inaccurate, so is the other, and in the same way.
docstring_tokens: Use maxDoc () instead of numDocs () because its proportional to docFreq () i . e . when one is inaccurate so is the other and in the same way .
function: def idfTerm(term, searcher):
      """Use maxDoc() instead of numDocs() because its proportional to docFreq(),
      i.e., when one is inaccurate, so is the other, and in the same way."""
  
      return idf(searcher.docFreq(term), searcher.maxDoc())
function_tokens: def idfTerm ( term , searcher ) : return idf ( searcher . docFreq ( term ) , searcher . maxDoc ( ) )