Text summarizer Service

URL:

*OR*

Text:

Topic:


Service Documentation

Service Parameters

Parameter Name

Description

Data Type

Default Value

pageurl

Provides a URL for the resource the Text Summarizer should attempt to retrieve and then process. This parameter is optional; however, if pageurl is not specified, then doctext must be specified. If doctext is non-zero length, then pageurl is ignored. If the Text Summarizer is not able to retrieve the resource located at pageurl, or both pageurl and doctext are zero-length, then it returns an HTTP 403 error to the calling client.

RFC 1738-compliant Uniform Resource Locator

Null

doctext

The raw text content to be processed by the Text Summarizer. Should be either plain text, HTML, or XML content.

String

Null

topic

The topic the Text Summarizer should use when preparing a summary of the document. This parameter is mandatory. If not present or zero-length, the text summarizer returns an HTP 403 error.

String

Not applicable (mandatory parameter)

sentences

When this parameter is used, the Text Summarizer returns sentences matching the value of topic. When this parameter is not present or is zero-length, the Text Summarizer returns entire paragraphs matching the value of topic.

Variant (any non-zero-length value)

Null