PerceptronFHMM-master/edu.cmu.lti.weizh.cda/src/main/java/edu/cmu/lti/weizh/docmodel/NamedEntity.java
package edu.cmu.lti.weizh.docmodel;

public class NamedEntity extends Phrase {

	String entityType;
	
	boolean traintest;
	String prediction;
	
	public String getPrediction() {
		return prediction;
	}

	public void setPrediction(String prediction) {
		this.prediction = prediction;
	}

	public String getEntityType() {
		return entityType;
	}

	public void setEntityType(String ty) {
		this.entityType	 = ty;
	}

	public NamedEntity(String type, int start, int end, Sentence sent) {
		
		super(sent,start,end);

		this.entityType= type;
		
	}
	
	public String toString() {
		return getWords()+" " + entityType + " start:" + start + " end:" + end;
	}

	public String getWords() {
		// TODO Auto-generated method stub
		return super.getWords();
	}

	public String getCap() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getLemma() {
		// TODO Auto-generated method stub
		return super.getLemma();
	}

	public String getPOS() {
		// TODO Auto-generated method stub
		return super.getPOS();
	}
}
