szte.csd.baseline
Class ObesRuleBased

java.lang.Object
  extended by 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.


Constructor Summary
ObesRuleBased()
           
 
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
 

Constructor Detail

ObesRuleBased

public ObesRuleBased()
Method Detail

isAltered

public boolean isAltered(Sentence sent,
                         int pos)
Specified by:
isAltered in interface RuleBasedCSD
Parameters:
sent - sentence
pos - 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)