|
ANNIEConstants |
|
1 /* 2 * AnnieConstants.java 3 * 4 * Copyright (c) 1998-2001, 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.3 2002/03/06 17:15:39 kalina 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.tokeniser.DefaultTokeniser", 26 "gate.creole.gazetteer.DefaultGazetteer", 27 "gate.creole.splitter.SentenceSplitter", 28 "gate.creole.POSTagger", 29 "gate.creole.ANNIETransducer", 30 "gate.creole.orthomatcher.OrthoMatcher" 31 }; 32 33 /** The name of the feature on Documents that holds coreference matches. */ 34 public static final String DOCUMENT_COREF_FEATURE_NAME = "MatchesAnnots"; 35 36 /** The name of the feature on Annotations that holds coreference matches. */ 37 public static final String ANNOTATION_COREF_FEATURE_NAME = "matches"; 38 39 public static final String TOKEN_ANNOTATION_TYPE = "Token"; 40 public static final String TOKEN_STRING_FEATURE_NAME = "string"; 41 public static final String TOKEN_CATEGORY_FEATURE_NAME = "category"; 42 public static final String TOKEN_KIND_FEATURE_NAME = "kind"; 43 public static final String TOKEN_LENGTH_FEATURE_NAME = "length"; 44 public static final String TOKEN_ORTH_FEATURE_NAME = "orth"; 45 46 public static final String SPACE_TOKEN_ANNOTATION_TYPE = "SpaceToken"; 47 48 public static final String LOOKUP_ANNOTATION_TYPE = "Lookup"; 49 public static final String LOOKUP_MAJOR_TYPE_FEATURE_NAME = "majorType"; 50 public static final String LOOKUP_MINOR_TYPE_FEATURE_NAME = "minorType"; 51 52 public static final String SENTENCE_ANNOTATION_TYPE = "Sentence"; 53 54 public static final String PERSON_ANNOTATION_TYPE = "Person"; 55 public static final String PERSON_GENDER_FEATURE_NAME = "gender"; 56 57 public static final String ORGANIZATION_ANNOTATION_TYPE = "Organization"; 58 public static final String LOCATION_ANNOTATION_TYPE = "Location"; 59 public static final String MONEY_ANNOTATION_TYPE = "Money"; 60 public static final String DATE_ANNOTATION_TYPE = "Date"; 61 62 63 } // AnnieConstants
|
ANNIEConstants |
|