当前位置: 首页>>代码示例>>Java>>正文


Java JCas.INVALID_FEATURE_CODE属性代码示例

本文整理汇总了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();

}
 
开发者ID:uhh-lt,项目名称:LT-ABSA,代码行数:14,代码来源:GoldAspectTarget_Type.java

示例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();

}
 
开发者ID:uhh-lt,项目名称:LT-ABSA,代码行数:14,代码来源:AspectTarget_Type.java

示例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();

}
 
开发者ID:floschne,项目名称:NLP_ProjectNER,代码行数:18,代码来源:NEIOBAnnotation_Type.java

示例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();

}
 
开发者ID:UKPLab,项目名称:emnlp2017-cmapsum-corpus,代码行数:18,代码来源:CC_Type.java


注:本文中的org.apache.uima.jcas.JCas.INVALID_FEATURE_CODE属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。