Package org.apache.ctakes.assertion.medfacts.cleartk.extractors

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


    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


      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
   
    // polarity keyword list:
    if(featConfig != FEATURE_CONFIG.NO_SEM){
      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"));
View Full Code Here

//            IdentifiedAnnotation.class, new HistoryFeaturesExtractor()) );
//   
    if(this.entityFeatureExtractors == null){
      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
    this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/history.txt"));
    this.entityFeatureExtractors.add(new HistoryFeaturesExtractor());
  }
View Full Code Here

    super.initialize(context);
    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

//        new CleartkExtractor(
//            IdentifiedAnnotation.class, new GenericFeaturesExtractor()) );
    if(this.entityFeatureExtractors == null){
      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
    this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/generic.txt"));
    this.entityFeatureExtractors.add(new GenericFeaturesExtractor());
  }
View Full Code Here

//            IdentifiedAnnotation.class, new HistoryFeaturesExtractor()) );
//   
    if(this.entityFeatureExtractors == null){
      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
    this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/history.txt"));
    this.entityFeatureExtractors.add(new HistoryFeaturesExtractor());
  }
View Full Code Here

    super.initialize(context);
    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

//        new CleartkExtractor(
//            IdentifiedAnnotation.class, new GenericFeaturesExtractor()) );
    if(this.entityFeatureExtractors == null){
      this.entityFeatureExtractors = new ArrayList<SimpleFeatureExtractor>();
    }
    this.entityFeatureExtractors.add(new ContextWordWindowExtractor("org/apache/ctakes/assertion/models/generic.txt"));
    this.entityFeatureExtractors.add(new GenericFeaturesExtractor());
  }
View Full Code Here

   
    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

Related Classes of org.apache.ctakes.assertion.medfacts.cleartk.extractors.ContextWordWindowExtractor

Copyright © 2018 www.massapicom. 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.