szte.csd.baseline
Class SentenceRemover

java.lang.Object
  extended by szte.csd.baseline.SentenceRemover
All Implemented Interfaces:
RuleBasedCSD

public class SentenceRemover
extends java.lang.Object
implements RuleBasedCSD

The "content shifted sentence baseline". It looks for content shifting phrases and if a sentences contains any, the whole sentence will be regarded as "altered" The phrases were collected from Chapman et al. (2007);Light et al. (2004); Vincze et al. (2008);Farkas and Szarvas (2008) and Farkas et al. (2009)


Constructor Summary
SentenceRemover(java.lang.String task)
           
 
Method Summary
 boolean isAltered(Sentence sent, int pos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SentenceRemover

public SentenceRemover(java.lang.String task)
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