| Package | Description |
|---|---|
| edu.utah.bmi.rush.core |
| Modifier and Type | Field and Description |
|---|---|
protected static DeterminantValueSet.Determinants |
RuSH.begin |
protected static DeterminantValueSet.Determinants |
RuSH.end |
protected DeterminantValueSet.Determinants |
FastCRules.END |
| Modifier and Type | Method and Description |
|---|---|
static DeterminantValueSet.Determinants |
DeterminantValueSet.Determinants.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeterminantValueSet.Determinants[] |
DeterminantValueSet.Determinants.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
HashMap<DeterminantValueSet.Determinants,ArrayList<Span>> |
FastCRuleProcessor.processString(String text,
DeterminantValueSet.DirectionPrefer directionPrefer) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
FastCRules.addRule(char[] rule,
DeterminantValueSet.Determinants determinant,
double score)
Override addRule method
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
FastCRules.addDeterminants(HashMap rule,
HashMap<DeterminantValueSet.Determinants,ArrayList<Span>> matches,
int matchBegin,
int matchEnd,
int currentPosition,
DeterminantValueSet.DirectionPrefer directionPrefer)
if reaches the end of one or more rules, add all corresponding
determinants into the results
|
protected void |
FastCRules.processRepetition(char[] textChars,
HashMap rule,
int matchBegin,
int matchEnd,
int currentPosition,
HashMap<DeterminantValueSet.Determinants,ArrayList<Span>> matches,
DeterminantValueSet.DirectionPrefer directionPrefer,
char previousChar,
boolean wildcard,
char previousKey) |
protected void |
FastCRules.processRules(char[] textChars,
HashMap rule,
int matchBegin,
int matchEnd,
int currentPosition,
HashMap<DeterminantValueSet.Determinants,ArrayList<Span>> matches,
DeterminantValueSet.DirectionPrefer directionPrefer,
char previousChar,
boolean wildcard,
char previousKey) |
void |
FastCRules.processRules(String text,
HashMap<DeterminantValueSet.Determinants,ArrayList<Span>> matches,
DeterminantValueSet.DirectionPrefer directionPrefer)
Because the input parameters are different, this method is overridden.
|
protected void |
FastCRules.processWildCards(char[] textChars,
HashMap rule,
int matchBegin,
int matchEnd,
int currentPosition,
HashMap<DeterminantValueSet.Determinants,ArrayList<Span>> matches,
DeterminantValueSet.DirectionPrefer directionPrefer,
char previousChar)
\d A digit
\C A capital letter
\c A lower case letter
\s A whitespace
\n A return
\( Beginning of capturing a group
\) End of capturing a group
\p A punctuation
\+ An addition symbol (to distinguish the "+" after a wildcard)
The wildcard plus "+": 1 or more wildcard
|
Copyright © 2017 The Department of Biomedical Informatics, University of Utah. All rights reserved.