/** @generated * @param jcas JCas to which this Feature Structure belongs * @param begin offset to the begin spot in the SofA * @param end offset to the end spot in the SofA */ public Chunk(JCas jcas, int begin, int end) { super(jcas); setBegin(begin); setEnd(end); readObject(); }
chunkAnnotation.setEnd(tokenArray[index - 1].getEnd()); chunkAnnotation.addToIndexes(); chunkAnnotation.setComponentId(COMPONENT_ID); chunkAnnotation.setBegin(tokenArray[index].getBegin()); inChunk = true; chunkAnnotation.setEnd(tokenArray[index-1].getEnd()); chunkAnnotation.addToIndexes();
/** Internal - constructor used by generator * @generated * @param addr low level Feature Structure reference * @param type the type of this Feature Structure */ public Chunk(int addr, TOP_Type type) { super(addr, type); readObject(); }
/** @generated * @param jcas JCas to which this Feature Structure belongs */ public Chunk(JCas jcas) { super(jcas); readObject(); }