All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gengoai.hermes.example.conf Maven / Gradle / Ivy

There is a newer version: 2.1
Show newest version

# Set the annotator for English entities to be the lexicon annotator defined below
Annotation {
  ENGLISH.ENTITY.annotator = @{lexiconAnnotator}
}

#Define a bean called lexicon annotator
lexiconAnnotator {
    @type = com.gengoai.hermes.annotator.LexiconAnnotator
    @constructor = {
        "com.gengoai.hermes.AnnotationType": "ENTITY",
        "String" : "entity_lexicon"
    }
}

#Define the entity lexicon
entity_lexicon = "classpath:com/gengoai/hermes/people.dict.json"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy