/*
* Copyright (c) 2001-2005, The University of Sheffield.
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
* software, licenced under the GNU Library General Public License,
* Version 2, June 1991 (in the distribution as file licence.html,
* and also available at http://gate.ac.uk/gate/licence.html).
*
* HepTag was originally written by Mark Hepple, this version contains
* modifications by Valentin Tablan and Niraj Aswani.
*
* $Id: Rule_CURWD.java,v 1.1 2005/09/30 14:48:12 ian_roberts Exp $
*/
package edu.northwestern.at.utils.corpuslinguistics.postagger.hepple.rules;
import edu.northwestern.at.utils.corpuslinguistics.postagger.hepple.*;
/**
* Title: HepTag
* Description: Mark Hepple's POS tagger
* Copyright: Copyright (c) 2001
* Company: University of Sheffield
* @author Mark Hepple
* @version 1.0
*/
public class Rule_CURWD extends Rule {
public Rule_CURWD() {
}
public boolean checkContext(HeppleTagger tagger) {
return (tagger.wordBuff[3].equals(context[0]));
}
}