Class BasicRelationExtractor

    • Field Detail

      • featureCountThreshold

        @Option(name="featureCountThreshold",
                gloss="feature count threshold to apply to dataset")
        public int featureCountThreshold
      • sigma

        @Option(name="sigma",
                gloss="strength of the prior on the linear classifier (passed to LinearClassifierFactory) or the C constant if relationExtractorClassifierType=svm")
        public double sigma
        strength of the prior on the linear classifier (passed to LinearClassifierFactory) or the C constant if relationExtractorClassifierType=svm
      • relationExtractorClassifierType

        public String relationExtractorClassifierType
        which classifier to use (can be 'linear' or 'svm')
      • createUnrelatedRelations

        protected boolean createUnrelatedRelations
        If true, it creates automatically negative examples by generating all combinations between EntityMentions in a sentence This is the common behavior, but for some domain (i.e., KBP) it must disabled. In these domains, the negative relation examples are created in the reader