Annotated Document
Inheritance Hierarchy
Ontotext.S4.serviceAnnotatedDocument
Namespace: Ontotext.S4.service
Assembly: S4ClientLibrary (in S4ClientLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The AnnotatedDocument type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AnnotatedDocument | Initializes a new instance of the AnnotatedDocument class |
Methods
Name | Description | |
---|---|---|
addFeature |
Catch-all setter used by Jackson to deserialize unknown properties
into the {@link #otherFeatures} map.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
entities |
Annotations grouped by type. The keys in this map are annotation
types and the corresponding values are the (possibly empty) list of
annotations of that type that were found by the pipeline.
| |
otherFeatures |
Holder for any additional properties found in the JSON response
apart from the text and entities. Typically this will only contain
values if the original document that was processed was Twitter
JSON.
| |
text |
The plain text of the document, extracted from the
original source. Any markup that was part of the original document
(e.g. XML or HTML) will have been removed, leaving just the plain
text.
|
See Also