本文整理匯總了Java中org.apache.uima.jcas.JCas.INVALID_FEATURE_CODE屬性的典型用法代碼示例。如果您正苦於以下問題:Java JCas.INVALID_FEATURE_CODE屬性的具體用法?Java JCas.INVALID_FEATURE_CODE怎麽用?Java JCas.INVALID_FEATURE_CODE使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在類org.apache.uima.jcas.JCas
的用法示例。
在下文中一共展示了JCas.INVALID_FEATURE_CODE屬性的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: GoldAspectTarget_Type
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type
*/
public GoldAspectTarget_Type(JCas jcas, Type casType) {
super(jcas, casType);
casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
casFeat_AspectTargetType = jcas.getRequiredFeatureDE(casType, "AspectTargetType", "uima.cas.String", featOkTst);
casFeatCode_AspectTargetType = (null == casFeat_AspectTargetType) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_AspectTargetType).getCode();
}
示例2: AspectTarget_Type
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type
*/
public AspectTarget_Type(JCas jcas, Type casType) {
super(jcas, casType);
casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
casFeat_AspectTargetType = jcas.getRequiredFeatureDE(casType, "AspectTargetType", "uima.cas.String", featOkTst);
casFeatCode_AspectTargetType = (null == casFeat_AspectTargetType) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_AspectTargetType).getCode();
}
示例3: NEIOBAnnotation_Type
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type
*/
public NEIOBAnnotation_Type(JCas jcas, Type casType) {
super(jcas, casType);
casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
casFeat_goldValue = jcas.getRequiredFeatureDE(casType, "goldValue", "uima.cas.String", featOkTst);
casFeatCode_goldValue = (null == casFeat_goldValue) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_goldValue).getCode();
casFeat_predictValue = jcas.getRequiredFeatureDE(casType, "predictValue", "uima.cas.String", featOkTst);
casFeatCode_predictValue = (null == casFeat_predictValue) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_predictValue).getCode();
}
示例4: CC_Type
/** initialize variables to correspond with Cas Type and Features
* @generated
* @param jcas JCas
* @param casType Type
*/
public CC_Type(JCas jcas, Type casType) {
super(jcas, casType);
casImpl.getFSClassRegistry().addGeneratorForType((TypeImpl)this.casType, getFSGenerator());
casFeat_name = jcas.getRequiredFeatureDE(casType, "name", "uima.cas.String", featOkTst);
casFeatCode_name = (null == casFeat_name) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_name).getCode();
casFeat_parent = jcas.getRequiredFeatureDE(casType, "parent", "uima.tcas.Annotation", featOkTst);
casFeatCode_parent = (null == casFeat_parent) ? JCas.INVALID_FEATURE_CODE : ((FeatureImpl)casFeat_parent).getCode();
}