當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。