szte.csd.baseline
Class Bioscope
java.lang.Object
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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bioscope
public Bioscope()
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
- sentencepos
- the position of the token in question
- Returns:
- whether the token is content shifted