Package: document - 11791-04/project-team04 GitHub Wiki

Package: document


Class: document.DocInfo

A class that stores basic information of documents. It is instantiated in:

  • descriptorimpl.BasicConsumer.passage2sentence(Passage)
  • descriptorimpl.DocumentRetrieval_AE.process(JCas)
  • descriptorimpl.SnippetAnalysisEngine.process(JCas)

Class: document.QueryInfo

A class that stores basic information of queries. It is instantiated in:

  • descriptorimpl.DocumentRetrieval_AE.process(JCas)
  • descriptorimpl.ListQuestionEntityExtractor_AE.process(JCas)

Class: document.scoring.CollectionStatistics

A class that stores the collection statistics such as term frequency and document frequency on a set of document.DocInfo's. It requires document.DocInfo's to be accumulated along the way, and to be called with finalize() before using. It is instantiated in the following:

  • descriptorimpl.DocumentRetrieval_AE.process(JCas)
  • descriptorimpl.ListQuestionEntityExtractor_AE.process(JCas)
  • descriptorimpl.SnippetAnalysisEngine.process(JCas)

Class: document.scoring.Ranker

A class that contains many static ranking functions for document retrieval. It is called in:

  • descriptorimpl.DocumentRetrieval_AE.process(JCas)

Class: package document.stemmer

It wraps the Krovetze stemming algorithm from Indri.

document.stemmer is a package Called by some other thing to do stuff str.toString().


⚠️ **GitHub.com Fallback** ⚠️