Skip to main content

Uniphore Customer Portal

Add Stop Words

This API helps to add/insert the stop words in the system for any given language in order to exclude these stop words from the discovery of trending topics in the form of word cloud.

  • External System can provide the list of stop words and corresponding ISO language code as input parameters. These parameters are required.

  • After successful authentication, this API sends a successful response based on the input parameters.

Endpoint

Method: POST

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” -XPOST http://host:port/stopwords/{lang}
Example Request Body
{
“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”,
“...”
]
}
Example Response
{
	"lang":'en",
	"words":[
	"aah",
	"yeah",
	"I",
	"you",
	"ok",
	"at",
	"of",
	"the",
	"please",
	"bye",]
}
Response and Error Codes

Code

Response

200

OK – The request has succeeded.

401

{“reason”: “unauthorized”}