de.unistuttgart.ims.entitydetection.api.TrainingArea Maven / Gradle / Ivy
The newest version!
/* First created by JCasGen Mon Mar 26 13:45:33 CEST 2018 */
package de.unistuttgart.ims.entitydetection.api;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.jcas.cas.TOP_Type;
import org.apache.uima.jcas.tcas.Annotation;
/**
* Updated by JCasGen Mon Mar 26 13:45:33 CEST 2018
* XML source: /Users/reiterns/Documents/QuaDramA/DramaNLP/de.unistuttgart.ims.drama.core.cr/target/jcasgen/typesystem.xml
* @generated */
public class TrainingArea extends Annotation {
/** @generated
* @ordered
*/
@SuppressWarnings ("hiding")
public final static int typeIndexID = JCasRegistry.register(TrainingArea.class);
/** @generated
* @ordered
*/
@SuppressWarnings ("hiding")
public final static int type = typeIndexID;
/** @generated
* @return index of the type
*/
@Override
public int getTypeIndexID() {return typeIndexID;}
/** Never called. Disable default constructor
* @generated */
protected TrainingArea() {/* intentionally empty block */}
/** Internal - constructor used by generator
* @generated
* @param addr low level Feature Structure reference
* @param type the type of this Feature Structure
*/
public TrainingArea(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
/** @generated
* @param jcas JCas to which this Feature Structure belongs
*/
public TrainingArea(JCas jcas) {
super(jcas);
readObject();
}
/** @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 TrainingArea(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
}
/**
*
* Write your own initialization here
*
*
* @generated modifiable
*/
private void readObject() {/*default - does nothing empty block */}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy