Skip to main content

Uniphore Customer Portal

Fetch Stop Words

This API helps to fetch the stop words already exist in the system for any given language.

  • External System can send the language code as input parameter.

  • After successful authentication, this API sends the response as contact ID, corresponding ISO language code and list of stop words already exist in the system.

Endpoint

Method: GET

URL: http://host:port/stopwords/{lang}

Header Parameter

Authorization - Bearer <Token>

Path Parameter

Parameter Name

Mandatory/

Optional

Type

Description

lang

Mandatory

string

The language of the stop words. ISO language code should be used.

Example: en-us, en-in, etc.,.

Example Request
curl -H “Authorization: Bearer 911999706310ffbcb32981863e23ce72d5e60d7b” -XGET http://host:port/stopwords/{lang}
Sample Response
{
“ID”: “5f5f5f5f5f656e676c697368”,
“Lang”: “en-us”,
“Words”: [
“‘ll”,
“‘tis”,
“‘twas”,
“‘ve”,
“10”,
“39”,
“a”,
“a’s”,
“able”,
“ableabout”,
“about”,
“above”,
“abroad”,
“abst”,
“accordance”,
“according”,
“accordingly”,
“across”,
“act”,
“actually”,
“ad”,
“added”,
“adj”,
“adopted”,
“ae”,
“af”,
“affected”,
“affecting”,
“affects”,
“after”,
“afterwards”,
“ag”,
“again”,
“against”,
“ago”,
“ah”,
“ahead”,
“ai”,
“ain’t”,
“aint”,
“al”,
“all”,
“allow”,
“allows”,
“almost”,
“alone”,
“along”,
“alongside”,
“already”,
“also”,
“although”,
“always”,
“...”
]
} 
Response and Error Codes

Code

Response

200

Ok

401

{“reason”: “unauthorized”}