Text Extraction

Overview

Extract article text only from web page.

Extracting Text from an article

  • Goto AmplifyReach Dashboard -> Bot Studio -> Left Navigation Sidebar
  • Select Core Services > Text Analysis.
  • Select URL or Text tab to enter the link or text for Text Analysis. 
  • Press Analyze button.
  • Text analysis results will be shown.
  • The Text Extraction option in Left Panel shows text extracted by AmplifyReach Catalyst.

Text Using AmplifyReach Catalyst API

 Tip: Register your account on AmplifyReach and contact us at kick-start@amplifyreach.com to get Developer ID and Access Token.

URL & Objects

The following URLs are available.

URLDescription
PUT /textanalysis/v1/textPUT URL for Text/Article extraction.
GET /textanalysis/v1/text/{UID}Get Text/Article from URL.

PUT /textanalysis/v1/text

PUT https://launch.amplifyreach.com/textanalysis/v1/text

Headers:

Name Description
Content-Type application/json
authToken YOUR_DEVELOPER_ACCESS_TOKEN
cid YOUR_DEVELOPER_ID

PUT body

{    
    "url": "<SAMPLE_URL>"
}

cURL-PUT Request for URL Request

curl \
-H “Content-Type: application/json” \
-H “cid:” \
-H “authtoken:” \
-X PUT \
-d ‘{“url”:””}’ \
https://apps.amplifyreach.com/textanalysis/v1/text

Put Response

Response JSON structure:

NameTypeDescription
statusStringRequest Status (Reference: Status & Error Codes)
uidStringUID is unique request identifier ID which to get result in Get API.

Example: PUT Response

{
“status”:”success”,
“uid”:”4f057e01d88ff7aa82a8610dc651e8fe”,
“license”:”By accessing AmplifyReach or using information generated by AmplifyReachAPI, you are agreeing to be bound by the AmplifyReach Terms of Use.”
}

GET /textanalysis/v1/text/{UID}

GET https://launch.amplifyreach.com/textanalysis/v1/text/{UID}

Headers:

Name Description
Content-Type application/json
authToken YOUR_DEVELOPER_ACCESS_TOKEN
cid YOUR_DEVELOPER_ID

cURL-GET Request for UID Request

curl \
-H “Content-Type: application/json” \
-H “cid:” \
-H “authtoken:” \
-X GET \
https://apps.amplifyreach.com/textanalysis/v1/text/{UID}

Text Object

The text response JSON structure.

NameTypeDescription
statusStringRequest Status (Reference: Status & Error Codes)
textStringClean article Text.

Example: Text Object

{
“status”:”success”,
“text”:”Article of Web Page”
}