1 2 package org.apache.lucene.analysis.standard; 3 4 public interface StandardTokenizerConstants { 5 6 int EOF = 0; 7 int ALPHANUM = 1; 8 int APOSTROPHE = 2; 9 int ACRONYM = 3; 10 int COMPANY = 4; 11 int EMAIL = 5; 12 int HOST = 6; 13 int NUM = 7; 14 int P = 8; 15 int HAS_DIGIT = 9; 16 int ALPHA = 10; 17 int LETTER = 11; 18 int CJ = 12; 19 int KOREAN = 13; 20 int DIGIT = 14; 21 int NOISE = 15; 22 23 int DEFAULT = 0; 24 25 String [] tokenImage = { 26 "<EOF>", 27 "<ALPHANUM>", 28 "<APOSTROPHE>", 29 "<ACRONYM>", 30 "<COMPANY>", 31 "<EMAIL>", 32 "<HOST>", 33 "<NUM>", 34 "<P>", 35 "<HAS_DIGIT>", 36 "<ALPHA>", 37 "<LETTER>", 38 "<CJ>", 39 "<KOREAN>", 40 "<DIGIT>", 41 "<NOISE>", 42 }; 43 44 } 45 | Popular Tags |