Package com.gengoai.hermes
Hermes is a framework for Natural Language Processing. Its design is based on the Tipster architecture.
-
Interface Summary Interface Description AnnotatableType An annotatable type is one that can be added to a document through annotation either byCorpus.annotate(AnnotatableType...)
orDocument.annotate(AnnotatableType...)
.Annotation An annotation is anHString
that associates anAnnotationType
, e.g.Document A document represents text content with an accompanying set of metadata (Attributes), linguistic overlays (Annotations), and relations between elements in the document.Entities Predefined set of common entities.HString An HString (Hermes String) is a Java String on steroids.Types Common Annotatable Types. -
Class Summary Class Description AnnotatableType.Deserializer AnnotatableType.KeyDeserializer AnnotatableType.Serializer AnnotatableTypeConverter Mango Converter to automatically Convert other objects (Json and Strings) intoAnnotatableType
sAnnotationPipeline Helper class for determining the correct sequence of annotators to apply on a Document in order for to satisfy the given AnnotatableType.AnnotationSet An AnnotationSet acts as the storage mechanism for annotations associated with a document.AnnotationType An AnnotationType defines anAnnotation
, which is a typed (e.g.AttributeMap Specialized HashMap for storingAttributeType
s and their values that correctly handles json serialization / deserialization and allows for checked type gets.AttributeType<T> An AttributeType defines a named Attribute that can be added to an HString.Document.AnnotationBuilder Annotation builder for creating annotations associated with a documentDocumentFactory A document factory facilitates the creation of document objects performing any predefined preprocessing, e.g.DocumentFactory.DocumentFactoryBuilder Builder forDocumentFactory
sDownloader EntityType Tag type associated with Entity annotations.EntityType.Converter The type Converter.Fragments Convenience methods for constructing orphaned and empty fragments.Hermes Convenience methods for getting common configuration options.Relation Relations provide a mechanism to link two Annotations.RelationEdge A specialized annotation graph edge that stores relation type and value.RelationEdgeFactory Factory class for constructingRelationEdge
sRelationGraph A graph where vertices are annotations and edges represent relations.RelationType Dynamic enumeration of known types of relations that can exist between annotations. -
Enum Summary Enum Description BasicCategories A basic set of categories to describe words which is useful for inferring higher level concepts.RelationDirection Directionality of a relation.ResourceType Defines common resource used by Hermes and methods for finding configuration values and resources for them.