01 /*
02 * IndexStatistics.java
03 *
04 * Copyright (c) 1995-2010, The University of Sheffield. See the file
05 * COPYRIGHT.txt in the software or at http://gate.ac.uk/gate/COPYRIGHT.txt
06 *
07 * This file is part of GATE (see http://gate.ac.uk/), and is free
08 * software, licenced under the GNU Library General Public License,
09 * Version 2, June 1991 (in the distribution as file licence.html,
10 * and also available at http://gate.ac.uk/gate/licence.html).
11 *
12 * Rosen Marinov, 19/Apr/2002
13 *
14 */
15
16 package gate.creole.ir;
17
18 import java.util.HashMap;
19
20 public interface IndexStatistics{
21
22 public Long getTermCount();
23
24 public Long getUniqueTermCount();
25
26 public Long getExhaustivity(Long docID, String fieldName);
27
28 public Long getSpecificity(String term);
29
30 public HashMap getTermFrequency(Long docID, String fieldName);
31
32 }
|