You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by al...@apache.org on 2006/12/07 23:40:30 UTC
svn commit: r483709 [2/5] - in
/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src:
com/ibm/uima/examples/opennlp/ com/ibm/uima/examples/opennlp/annotator/
org/ org/apache/ org/apache/uima/ org/apache/uima/examples/
org/apache/uima...
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/INTJ_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/INTJ_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/INTJ_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/INTJ_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/INTJ_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/INTJ_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/INTJ_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,53 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/** Interjection. Corresponds approximately to the part-of-speech tag UH.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+/**
+ * Interjection. Corresponds approximately to the part-of-speech tag UH. Updated by JCasGen Fri Dec
+ * 02 14:22:24 EST 2005
+ *
+ * @generated
+ */
public class INTJ_Type extends Phrase_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (INTJ_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = INTJ_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new INTJ(addr, INTJ_Type.this);
- INTJ_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new INTJ(addr, INTJ_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (INTJ_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = INTJ_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new INTJ(addr, INTJ_Type.this);
+ INTJ_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new INTJ(addr, INTJ_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = INTJ.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.INTJ");
-
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas
+ .getFeatOkTst("org.apache.uima.examples.opennlp.INTJ");
+
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public INTJ_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/LST.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/LST.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/LST.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/LST.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/LST.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/LST.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/LST.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,71 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/** List marker. Includes surrounding punctuation.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * List marker. Includes surrounding punctuation. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
+ * XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class LST extends Phrase {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected LST() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected LST() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public LST(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public LST(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public LST(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/LST_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/LST_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/LST_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/LST_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/LST_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/LST_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/LST_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,51 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/** List marker. Includes surrounding punctuation.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+/**
+ * List marker. Includes surrounding punctuation. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
+ *
+ * @generated
+ */
public class LST_Type extends Phrase_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (LST_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = LST_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new LST(addr, LST_Type.this);
- LST_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new LST(addr, LST_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (LST_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = LST_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new LST(addr, LST_Type.this);
+ LST_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new LST(addr, LST_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = LST.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.LST");
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.LST");
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public LST_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Location.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Location.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Location.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Location.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Location.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Location.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Location.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/**
- * Updated by JCasGen Fri Dec 02 14:22:23 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Updated by JCasGen Fri Dec 02 14:22:23 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class Location extends EntityAnnotation {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected Location() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected Location() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public Location(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public Location(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public Location(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Location_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Location_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Location_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Location_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Location_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Location_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Location_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/**
+/**
* Updated by JCasGen Fri Dec 02 14:22:23 EST 2005
- * @generated */
+ *
+ * @generated
+ */
public class Location_Type extends EntityAnnotation_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (Location_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = Location_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new Location(addr, Location_Type.this);
- Location_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new Location(addr, Location_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (Location_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = Location_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new Location(addr, Location_Type.this);
+ Location_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new Location(addr, Location_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = Location.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.Location");
-
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas
+ .getFeatOkTst("org.apache.uima.examples.opennlp.Location");
+
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public Location_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Money.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Money.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Money.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Money.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Money.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Money.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Money.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/**
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class Money extends EntityAnnotation {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected Money() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected Money() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public Money(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public Money(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public Money(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Money_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Money_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Money_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Money_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Money_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Money_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Money_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/**
+/**
* Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+ *
+ * @generated
+ */
public class Money_Type extends EntityAnnotation_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (Money_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = Money_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new Money(addr, Money_Type.this);
- Money_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new Money(addr, Money_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (Money_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = Money_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new Money(addr, Money_Type.this);
+ Money_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new Money(addr, Money_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = Money.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.Money");
-
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas
+ .getFeatOkTst("org.apache.uima.examples.opennlp.Money");
+
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public Money_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NAC.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NAC.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NAC.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NAC.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NAC.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NAC.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NAC.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,71 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/** Not a Constituent; used to show the scope of certain prenominal modifiers within an NP.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Not a Constituent; used to show the scope of certain prenominal modifiers within an NP. Updated
+ * by JCasGen Fri Dec 02 14:22:24 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class NAC extends Phrase {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected NAC() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected NAC() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public NAC(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public NAC(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public NAC(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NAC_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NAC_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NAC_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NAC_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NAC_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NAC_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NAC_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/** Not a Constituent; used to show the scope of certain prenominal modifiers within an NP.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+/**
+ * Not a Constituent; used to show the scope of certain prenominal modifiers within an NP. Updated
+ * by JCasGen Fri Dec 02 14:22:24 EST 2005
+ *
+ * @generated
+ */
public class NAC_Type extends Phrase_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (NAC_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = NAC_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new NAC(addr, NAC_Type.this);
- NAC_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new NAC(addr, NAC_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (NAC_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = NAC_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new NAC(addr, NAC_Type.this);
+ NAC_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new NAC(addr, NAC_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = NAC.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.NAC");
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.NAC");
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public NAC_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NP.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NP.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NP.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NP.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NP.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NP.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NP.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/** Noun Phrase.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Noun Phrase. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class NP extends Phrase {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected NP() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected NP() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public NP(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public NP(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public NP(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NP_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NP_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NP_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NP_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NP_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NP_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NP_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,51 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/** Noun Phrase.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+/**
+ * Noun Phrase. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
+ *
+ * @generated
+ */
public class NP_Type extends Phrase_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (NP_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = NP_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new NP(addr, NP_Type.this);
- NP_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new NP(addr, NP_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (NP_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = NP_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new NP(addr, NP_Type.this);
+ NP_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new NP(addr, NP_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = NP.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.NP");
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.NP");
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public NP_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NX.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NX.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NX.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NX.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NX.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NX.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NX.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,71 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/** Used within certain complex NPs to mark the head of the NP. Corresponds very roughly to N-bar level but used quite differently.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Used within certain complex NPs to mark the head of the NP. Corresponds very roughly to N-bar
+ * level but used quite differently. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class NX extends Phrase {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected NX() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected NX() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public NX(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public NX(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public NX(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NX_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NX_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NX_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NX_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NX_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/NX_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/NX_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/** Used within certain complex NPs to mark the head of the NP. Corresponds very roughly to N-bar level but used quite differently.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+/**
+ * Used within certain complex NPs to mark the head of the NP. Corresponds very roughly to N-bar
+ * level but used quite differently. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
+ *
+ * @generated
+ */
public class NX_Type extends Phrase_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (NX_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = NX_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new NX(addr, NX_Type.this);
- NX_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new NX(addr, NX_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (NX_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = NX_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new NX(addr, NX_Type.this);
+ NX_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new NX(addr, NX_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = NX.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.NX");
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.NX");
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public NX_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Organization.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Organization.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Organization.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Organization.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Organization.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Organization.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Organization.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/**
- * Updated by JCasGen Fri Dec 02 14:22:23 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Updated by JCasGen Fri Dec 02 14:22:23 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class Organization extends EntityAnnotation {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected Organization() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected Organization() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public Organization(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public Organization(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public Organization(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Organization_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Organization_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Organization_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Organization_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Organization_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Organization_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Organization_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/**
+/**
* Updated by JCasGen Fri Dec 02 14:22:23 EST 2005
- * @generated */
+ *
+ * @generated
+ */
public class Organization_Type extends EntityAnnotation_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (Organization_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = Organization_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new Organization(addr, Organization_Type.this);
- Organization_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new Organization(addr, Organization_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (Organization_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = Organization_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new Organization(addr, Organization_Type.this);
+ Organization_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new Organization(addr, Organization_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = Organization.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.Organization");
-
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas
+ .getFeatOkTst("org.apache.uima.examples.opennlp.Organization");
+
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public Organization_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PP.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PP.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PP.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PP.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PP.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PP.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PP.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/** Prepositional Phrase.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Prepositional Phrase. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class PP extends Phrase {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected PP() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected PP() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public PP(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public PP(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public PP(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PP_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PP_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PP_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PP_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PP_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PP_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PP_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,51 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/** Prepositional Phrase.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+/**
+ * Prepositional Phrase. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
+ *
+ * @generated
+ */
public class PP_Type extends Phrase_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (PP_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = PP_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new PP(addr, PP_Type.this);
- PP_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new PP(addr, PP_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (PP_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = PP_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new PP(addr, PP_Type.this);
+ PP_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new PP(addr, PP_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = PP.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.PP");
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.PP");
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public PP_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRNphrase.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRNphrase.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRNphrase.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRNphrase.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRNphrase.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRNphrase.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRNphrase.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/** Parenthetical.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Parenthetical. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class PRNphrase extends Phrase {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected PRNphrase() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected PRNphrase() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public PRNphrase(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public PRNphrase(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public PRNphrase(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRNphrase_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRNphrase_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRNphrase_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRNphrase_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRNphrase_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRNphrase_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRNphrase_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/** Parenthetical.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+/**
+ * Parenthetical. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
+ *
+ * @generated
+ */
public class PRNphrase_Type extends Phrase_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (PRNphrase_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = PRNphrase_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new PRNphrase(addr, PRNphrase_Type.this);
- PRNphrase_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new PRNphrase(addr, PRNphrase_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (PRNphrase_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = PRNphrase_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new PRNphrase(addr, PRNphrase_Type.this);
+ PRNphrase_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new PRNphrase(addr, PRNphrase_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = PRNphrase.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.PRNphrase");
-
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas
+ .getFeatOkTst("org.apache.uima.examples.opennlp.PRNphrase");
+
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public PRNphrase_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRT.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRT.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRT.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRT.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRT.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRT.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRT.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,71 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/** Particle. Category for words that should be tagged RP.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Particle. Category for words that should be tagged RP. Updated by JCasGen Fri Dec 02 14:22:24 EST
+ * 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class PRT extends Phrase {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected PRT() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected PRT() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public PRT(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public PRT(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public PRT(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRT_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRT_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRT_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRT_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRT_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/PRT_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/PRT_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/** Particle. Category for words that should be tagged RP.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+/**
+ * Particle. Category for words that should be tagged RP. Updated by JCasGen Fri Dec 02 14:22:24 EST
+ * 2005
+ *
+ * @generated
+ */
public class PRT_Type extends Phrase_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (PRT_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = PRT_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new PRT(addr, PRT_Type.this);
- PRT_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new PRT(addr, PRT_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (PRT_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = PRT_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new PRT(addr, PRT_Type.this);
+ PRT_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new PRT(addr, PRT_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = PRT.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.PRT");
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.PRT");
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public PRT_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Percentage.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Percentage.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Percentage.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Percentage.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Percentage.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Percentage.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Percentage.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/**
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class Percentage extends EntityAnnotation {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected Percentage() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected Percentage() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public Percentage(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public Percentage(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public Percentage(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Percentage_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Percentage_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Percentage_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Percentage_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Percentage_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Percentage_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Percentage_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/**
+/**
* Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * @generated */
+ *
+ * @generated
+ */
public class Percentage_Type extends EntityAnnotation_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (Percentage_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = Percentage_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new Percentage(addr, Percentage_Type.this);
- Percentage_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new Percentage(addr, Percentage_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (Percentage_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = Percentage_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new Percentage(addr, Percentage_Type.this);
+ Percentage_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new Percentage(addr, Percentage_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = Percentage.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.Percentage");
-
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas
+ .getFeatOkTst("org.apache.uima.examples.opennlp.Percentage");
+
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public Percentage_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Person.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Person.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Person.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Person.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Person.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Person.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Person.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/**
- * Updated by JCasGen Fri Dec 02 14:22:23 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Updated by JCasGen Fri Dec 02 14:22:23 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class Person extends EntityAnnotation {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected Person() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected Person() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public Person(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public Person(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public Person(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Person_Type.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Person_Type.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Person_Type.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Person_Type.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Person_Type.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Person_Type.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Person_Type.java Thu Dec 7 14:40:23 2006
@@ -26,44 +26,52 @@
import org.apache.uima.cas.impl.TypeImpl;
import org.apache.uima.cas.Type;
-/**
+/**
* Updated by JCasGen Fri Dec 02 14:22:23 EST 2005
- * @generated */
+ *
+ * @generated
+ */
public class Person_Type extends EntityAnnotation_Type {
/** @generated */
- protected FSGenerator getFSGenerator() {return fsGenerator;};
+ protected FSGenerator getFSGenerator() {
+ return fsGenerator;
+ }
+
/** @generated */
- private final FSGenerator fsGenerator =
- new FSGenerator() {
- public FeatureStructure createFS(int addr, CASImpl cas) {
- if (Person_Type.this.useExistingInstance) {
- // Return eq fs instance if already created
- FeatureStructure fs = Person_Type.this.jcas.getJfsFromCaddr(addr);
- if (null == fs) {
- fs = new Person(addr, Person_Type.this);
- Person_Type.this.jcas.putJfsFromCaddr(addr, fs);
- return fs;
- }
- return fs;
- } else return new Person(addr, Person_Type.this);
- }
- };
+ private final FSGenerator fsGenerator = new FSGenerator() {
+ public FeatureStructure createFS(int addr, CASImpl cas) {
+ if (Person_Type.this.useExistingInstance) {
+ // Return eq fs instance if already created
+ FeatureStructure fs = Person_Type.this.jcas.getJfsFromCaddr(addr);
+ if (null == fs) {
+ fs = new Person(addr, Person_Type.this);
+ Person_Type.this.jcas.putJfsFromCaddr(addr, fs);
+ return fs;
+ }
+ return fs;
+ } else
+ return new Person(addr, Person_Type.this);
+ }
+ };
+
/** @generated */
public final static int typeIndexID = Person.typeIndexID;
- /** @generated
- @modifiable */
- public final static boolean featOkTst = JCas.getFeatOkTst("org.apache.uima.examples.opennlp.Person");
-
- /** initialize variables to correspond with Cas Type and Features
- * @generated */
+ /**
+ * @generated
+ * @modifiable
+ */
+ public final static boolean featOkTst = JCas
+ .getFeatOkTst("org.apache.uima.examples.opennlp.Person");
+
+ /**
+ * initialize variables to correspond with Cas Type and Features
+ *
+ * @generated
+ */
public Person_Type(JCas jcas, Type casType) {
super(jcas, casType);
- casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
+ casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl) this.casType, getFSGenerator());
}
}
-
-
-
-
Copied: incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Phrase.java (from r477887, incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Phrase.java)
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Phrase.java?view=diff&rev=483709&p1=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Phrase.java&r1=477887&p2=incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Phrase.java&r2=483709
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/com/ibm/uima/examples/opennlp/Phrase.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/opennlp_wrappers/src/org/apache/uima/examples/opennlp/Phrase.java Thu Dec 7 14:40:23 2006
@@ -19,57 +19,70 @@
package org.apache.uima.examples.opennlp;
-import org.apache.uima.jcas.impl.JCas;
+import org.apache.uima.jcas.impl.JCas;
import org.apache.uima.jcas.cas.TOP_Type;
-
-
-/** Phrase level syntactic annotation.
- * Updated by JCasGen Fri Dec 02 14:22:24 EST 2005
- * XML source: C:/workspace/jedii_examples/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
- * @generated */
+/**
+ * Phrase level syntactic annotation. Updated by JCasGen Fri Dec 02 14:22:24 EST 2005 XML source:
+ * c:/workspace/uimaj-examples/opennlp/src/org/apache/uima/examples/opennlp/annotator/OpenNLPExampleTypes.xml
+ *
+ * @generated
+ */
public class Phrase extends SyntaxAnnotation {
- /** @generated
- * @ordered
+ /**
+ * @generated
+ * @ordered
*/
public final static int typeIndexID = JCas.getNextIndex();
- /** @generated
- * @ordered
+
+ /**
+ * @generated
+ * @ordered
*/
public final static int type = typeIndexID;
- /** @generated */
- public int getTypeIndexID() {return typeIndexID;}
-
- /** Never called. Disable default constructor
- * @generated */
- protected Phrase() {}
-
- /** Internal - constructor used by generator
- * @generated */
+
+ /** @generated */
+ public int getTypeIndexID() {
+ return typeIndexID;
+ }
+
+ /**
+ * Never called. Disable default constructor
+ *
+ * @generated
+ */
+ protected Phrase() {
+ }
+
+ /**
+ * Internal - constructor used by generator
+ *
+ * @generated
+ */
public Phrase(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
-
+
/** @generated */
public Phrase(JCas jcas) {
super(jcas);
- readObject();
- }
-
+ readObject();
+ }
+
public Phrase(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
- }
+ }
- /** <!-- begin-user-doc -->
- * Write your own initialization here
- * <!-- end-user-doc -->
- @generated modifiable */
- private void readObject() {}
-
-}
+ /**
+ * <!-- begin-user-doc --> Write your own initialization here <!-- end-user-doc -->
+ *
+ * @generated modifiable
+ */
+ private void readObject() {
+ }
-
+}