Examples of NegationDependencyFeatureExtractor


Examples of org.apache.ctakes.assertion.medfacts.cleartk.extractors.NegationDependencyFeatureExtractor

    probabilityOfKeepingADefaultExample = 1.0; //0.1;

    if(this.entityFeatureExtractors == null){
      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
    this.entityFeatureExtractors.add(new NegationDependencyFeatureExtractor());
    this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/polarity.txt"));
    this.entityFeatureExtractors.add(new AboveLeftFragmentExtractor("AL_Polarity","org/apache/ctakes/assertion/models/sharpPolarityFrags.txt"));
    //    this.entityFeatureExtractors.add(new AboveRightFragmentExtractor("AR_Polarity","org/apache/ctakes/assertion/models/sharpArPolarityFrags.txt"));

    initializeDomainAdaptation();
View Full Code Here

Examples of org.apache.ctakes.assertion.medfacts.cleartk.extractors.NegationDependencyFeatureExtractor

      this.entityFeatureExtractors.add(new DependencyWordsFragmentExtractor("DW_Polarity", "org/apache/ctakes/assertion/models/jbi_paper_polarity_dw_frags.txt"));     
    }

    if(featConfig == FEATURE_CONFIG.DEP_REGEX || featConfig == FEATURE_CONFIG.DEP_REGEX_FRAGS || featConfig == FEATURE_CONFIG.ALL_SYN){
      // dep regex feature:
      this.entityFeatureExtractors.add(new NegationDependencyFeatureExtractor());
    }
   
    if(featConfig == FEATURE_CONFIG.STK){
      // stk constituency feature:
      this.entityTreeExtractors.add(new AssertionAboveLeftTreeExtractor());
View Full Code Here

Examples of org.apache.ctakes.assertion.medfacts.cleartk.extractors.NegationDependencyFeatureExtractor

    probabilityOfKeepingADefaultExample = 1.0; //0.1;
   
    if(this.entityFeatureExtractors == null){
      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
    this.entityFeatureExtractors.add(new NegationDependencyFeatureExtractor());
    this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/polarity.txt"));
    this.entityFeatureExtractors.add(new AboveLeftFragmentExtractor("AL_Polarity","org/apache/ctakes/assertion/models/sharpPolarityFrags.txt"));
//    this.entityFeatureExtractors.add(new AboveRightFragmentExtractor("AR_Polarity","org/apache/ctakes/assertion/models/sharpArPolarityFrags.txt"));
   
    initializeFeatureSelection();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.