Annotates a single document and returns an {@link InputStream} from
which the contents of the serialized annotated document can be read
Namespace: Ontotext.S4.service
Assembly: S4ClientLibrary (in S4ClientLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Stream annotateDocumentAsStream( string documentText, SupportedMimeType documentMimeType, ResponseFormat serializationFormat )
Parameters
- documentText
- Type: SystemString
the contents of the document which will be annotated - documentMimeType
- Type: Ontotext.S4.serviceSupportedMimeType
the MIME type of the file which will be annotated - serializationFormat
- Type: Ontotext.S4.serviceResponseFormat
the format which will be used for serialization of the annotated document
Return Value
Type: Streaman {@link InputStream} from which the serialization of the annotated document can be read
See Also