1   /*
2    *  IndexStatistics.java
3    *
4    *  Copyright (c) 1998-2005, The University of Sheffield.
5    *
6    *  This file is part of GATE (see http://gate.ac.uk/), and is free
7    *  software, licenced under the GNU Library General Public License,
8    *  Version 2, June 1991 (in the distribution as file licence.html,
9    *  and also available at http://gate.ac.uk/gate/licence.html).
10   *
11   *  Rosen Marinov, 19/Apr/2002
12   *
13   */
14  
15  package gate.creole.ir;
16  
17  import java.util.HashMap;
18  
19  public interface IndexStatistics{
20  
21    public Long getTermCount();
22  
23    public Long getUniqueTermCount();
24  
25    public Long getExhaustivity(Long docID, String fieldName);
26  
27    public Long getSpecificity(String term);
28  
29    public HashMap getTermFrequency(Long docID, String fieldName);
30  
31  }