|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.creole.orthomatcher.OrthoMatcherHelper
public class OrthoMatcherHelper
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
log
|
static boolean[] |
rulesUsedTable
It is used for test purposes. |
Constructor Summary | |
---|---|
OrthoMatcherHelper()
|
Method Summary | |
---|---|
static int[] |
convertArrayToInteger(String[] input)
|
static boolean |
executeDisjunction(Map<Integer,OrthoMatcherRule> allrules,
int[] executeRules,
String longName,
String shortName,
boolean[] mr)
|
static String |
getStringForSpan(Long start,
Long end,
Document d)
Gets the content of an annotation |
static boolean |
initialMatch(String s1,
String s2)
Returns true if only one of s1 and s2 is a single character and the two strings match on that initial |
static Double |
round2Places(Double input)
|
static void |
saveUsedTable()
It is used for test purposes. |
protected static void |
setMatchesPositions(AnnotationSet nameAllAnnots)
|
static String |
SortByStartPosition(String input)
|
static boolean |
straightCompare(String s1,
String s2,
boolean matchCase)
|
static void |
usedRule(int rule)
It is used for test purposes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger log
public static boolean[] rulesUsedTable
Constructor Detail |
---|
public OrthoMatcherHelper()
Method Detail |
---|
public static boolean straightCompare(String s1, String s2, boolean matchCase)
public static boolean initialMatch(String s1, String s2)
public static String getStringForSpan(Long start, Long end, Document d) throws ExecutionException
ExecutionException
public static boolean executeDisjunction(Map<Integer,OrthoMatcherRule> allrules, int[] executeRules, String longName, String shortName, boolean[] mr)
public static Double round2Places(Double input)
public static void usedRule(int rule)
public static void saveUsedTable()
public static int[] convertArrayToInteger(String[] input)
public static String SortByStartPosition(String input)
protected static void setMatchesPositions(AnnotationSet nameAllAnnots)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |