szte.csd.baseline
Class ObesRuleBased
java.lang.Object
szte.csd.baseline.ObesRuleBased
- All Implemented Interfaces:
- RuleBasedCSD
public class ObesRuleBased
- extends java.lang.Object
- implements RuleBasedCSD
This fine-tuned hand-crafted rule-set was developed to CMC clinical NLP challenge in 2007.
Method Summary |
void |
init(java.lang.String cond,
java.lang.String condDir,
java.lang.String neg,
java.lang.String negDir,
java.lang.String delimiter)
|
boolean |
isAltered(Sentence sent,
int pos)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObesRuleBased
public ObesRuleBased()
isAltered
public boolean isAltered(Sentence sent,
int pos)
- Specified by:
isAltered
in interface RuleBasedCSD
- Parameters:
sent
- sentencepos
- the position of the token in question
- Returns:
- whether the token is content shifted
init
public void init(java.lang.String cond,
java.lang.String condDir,
java.lang.String neg,
java.lang.String negDir,
java.lang.String delimiter)