1   /*
2    *  AnnieConstants.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   *  Cristian URSU, 16/Oct/2001
12   *
13   *  $Id: ANNIEConstants.java,v 1.8 2005/01/11 13:51:31 ian Exp $
14   */
15  
16  package gate.creole;
17  
18  /** This interface defines constants used by the ANNIE processing resources. */
19  public interface ANNIEConstants {
20  
21    /**
22     * This is an array of strings containing all class names for all ANNIE PRs
23     */
24    public static final String[] PR_NAMES = {
25      "gate.creole.annotdelete.AnnotationDeletePR",
26      "gate.creole.tokeniser.DefaultTokeniser",
27      "gate.creole.gazetteer.DefaultGazetteer",
28      "gate.creole.splitter.SentenceSplitter",
29      "gate.creole.POSTagger",
30      "gate.creole.ANNIETransducer",
31      "gate.creole.orthomatcher.OrthoMatcher"
32    };
33  
34    /** The name of the feature on Documents that holds coreference matches. */
35    public static final String DOCUMENT_COREF_FEATURE_NAME = "MatchesAnnots";
36  
37    /** The name of the feature on Annotations that holds coreference matches. */
38    public static final String ANNOTATION_COREF_FEATURE_NAME = "matches";
39  
40    public static final String TOKEN_ANNOTATION_TYPE = "Token";
41    public static final String TOKEN_STRING_FEATURE_NAME = "string";
42    public static final String TOKEN_CATEGORY_FEATURE_NAME = "category";
43    public static final String TOKEN_KIND_FEATURE_NAME = "kind";
44    public static final String TOKEN_LENGTH_FEATURE_NAME = "length";
45    public static final String TOKEN_ORTH_FEATURE_NAME = "orth";
46  
47    public static final String SPACE_TOKEN_ANNOTATION_TYPE = "SpaceToken";
48  
49    public static final String LOOKUP_ANNOTATION_TYPE = "Lookup";
50    public static final String LOOKUP_MAJOR_TYPE_FEATURE_NAME = "majorType";
51    public static final String LOOKUP_MINOR_TYPE_FEATURE_NAME = "minorType";
52    public static final String LOOKUP_ONTOLOGY_FEATURE_NAME = "ontology";
53    public static final String LOOKUP_CLASS_FEATURE_NAME = "class";
54  
55    public static final String SENTENCE_ANNOTATION_TYPE = "Sentence";
56  
57    public static final String PERSON_ANNOTATION_TYPE = "Person";
58    public static final String PERSON_GENDER_FEATURE_NAME = "gender";
59  
60    public static final String ORGANIZATION_ANNOTATION_TYPE = "Organization";
61    public static final String LOCATION_ANNOTATION_TYPE = "Location";
62    public static final String MONEY_ANNOTATION_TYPE = "Money";
63    public static final String DATE_ANNOTATION_TYPE = "Date";
64  
65    public static final String DATE_POSTED_ANNOTATION_TYPE = "Date_Posted";
66    public static final String JOB_ID_ANNOTATION_TYPE = "JobId";
67  
68  
69    } // AnnieConstants