szte.csd.baseline
Class Bioscope

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

public class Bioscope
extends java.lang.Object
implements RuleBasedCSD

This class uses the manually annotated BioScope corpus as a rule-based CSD (checks wheter the token in question is under a scope). It works just for the CMC dataset as it is included in BioScope. You can download BioScope at http://www.inf.u-szeged.hu/rgai/bioscope You have to convert XML to TXT with <> scope bracketing.


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

Constructor Detail

Bioscope

public Bioscope()
Method Detail

find

public java.lang.String find(java.lang.String ss)

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