/* $Id: Chunk.java 790 2011-04-11 17:57:38Z hong1.cui $ */
/**
*
*/
package fna.charactermarkup;
import java.util.ArrayList;
/**
* @author hongcui
*
*/
public class Chunk {
protected String text = null;
protected ArrayList<String> chunkedTokens;
public Chunk(String text){
this.text = text;
}
public String toString(){
return this.text;
}
public void setText(String text){
this.text = text;
}
public void setChunkedTokens(ArrayList<String> tokens){
this.chunkedTokens = tokens;
}
public ArrayList<String> getChunkedTokens(){
return this.chunkedTokens ;
}
}