Examples of AboveLeftFragmentExtractor


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

    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();
 
    initializeFeatureSelection();
View Full Code Here

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

      this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/polarity.txt"));
    }   
   
    // stk frags feature:
    if(featConfig == FEATURE_CONFIG.STK_FRAGS || featConfig == FEATURE_CONFIG.ALL_SYN){
      this.entityFeatureExtractors.add(new AboveLeftFragmentExtractor("AL_Polarity","org/apache/ctakes/assertion/models/jbi_paper_polarity_sems_frags.txt"));
//      this.entityFeatureExtractors.add(new ConceptModifierPETFragmentExtractor("NegRel", "org/apache/ctakes/assertion/models/polarityRelnFragsStrat.txt"));
    }
   
    if(featConfig == FEATURE_CONFIG.PTK_FRAGS || featConfig == FEATURE_CONFIG.DEP_REGEX_FRAGS || featConfig == FEATURE_CONFIG.ALL_SYN){
//       ptk frags feature:
View Full Code Here

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

    probabilityOfKeepingADefaultExample = 0.1;
    if(this.entityFeatureExtractors == null){
      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
    this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/uncertainty.txt"));
    this.entityFeatureExtractors.add(new AboveLeftFragmentExtractor("ALUncertainty", "org/apache/ctakes/assertion/models/sharpUncertaintyFrags.txt"));

    initializeFeatureSelection();
   
  }
View Full Code Here

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

    probabilityOfKeepingADefaultExample = 0.1;
    if(this.entityFeatureExtractors == null){
      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
    this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/uncertainty.txt"));
    this.entityFeatureExtractors.add(new AboveLeftFragmentExtractor("ALUncertainty", "org/apache/ctakes/assertion/models/sharpUncertaintyFrags.txt"));

    initializeFeatureSelection();
   
  }
View Full Code Here

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

    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.