| Package | Description |
|---|---|
| edu.utah.bmi.nlp | |
| edu.utah.bmi.rush.core | |
| edu.utah.bmi.rush.uima |
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<Span> |
SimpleParser.tokenize2Spans(String text,
boolean includePunctuation)
Tokenize to an ArrayList of Spans, regardless of sentences or paragraphs
|
| Modifier and Type | Method and Description |
|---|---|
int |
Span.compareTo(Span o) |
| Modifier and Type | Method and Description |
|---|---|
HashMap<DeterminantValueSet.Determinants,ArrayList<Span>> |
FastCRuleProcessor.processString(String text,
DeterminantValueSet.DirectionPrefer directionPrefer) |
ArrayList<Span> |
RuSH.segToSentenceSpans(String text) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
FastCRules.compareScoreOnly(Span a,
Span b) |
protected boolean |
FastCRules.compareScorePrior(Span a,
Span b) |
protected boolean |
FastCRules.compareSpan(Span a,
Span b) |
protected boolean |
FastCRules.compareWidthOnly(Span a,
Span b) |
protected boolean |
FastCRules.compareWidthPrior(Span a,
Span b) |
| 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
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RuSH_AE.saveSentences(org.apache.uima.jcas.JCas jcas,
Span sentence) |
protected void |
RuSH_AE.saveTokens(org.apache.uima.jcas.JCas jcas,
Span sentence,
ArrayList<Span> tokens) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RuSH_AE.saveTokens(org.apache.uima.jcas.JCas jcas,
Span sentence,
ArrayList<Span> tokens) |
Copyright © 2017 The Department of Biomedical Informatics, University of Utah. All rights reserved.