Skip to content

Get a language's built-in stop words

GET
/v1/apps/{appId}/languages/{code}/stop-words
curl --request GET \
--url https://api.shoofai.com/v1/apps/demo-store/languages/ar/stop-words \
--header 'x-shoof-api-key: <x-shoof-api-key>'

Returns a language’s built-in stop words.

appId
required
string

The app’s id, shown in the dashboard (for example ali-sport-goods). demo-store is the public demo app.

Example

demo-store
code
required
string
Allowed values: ar bg bn ca ckb cs da de el en es et eu fa fi fr ga gl he hi hu hy id it ja ko lt lv nl no pt ro ru sr sv th tr ur zh

The built-in stop words.

Media typeapplication/json
object
language
string
Allowed values: ar bg bn ca ckb cs da de el en es et eu fa fi fr ga gl he hi hu hy id it ja ko lt lv nl no pt ro ru sr sv th tr ur zh
stopWords
Array<string>

Example

{
"language": "ar"
}

The record doesn’t exist (not_found).

Media typeapplication/json
object
error
required
object
code
required

A stable, machine-readable code.

string
message
required

A human-readable explanation.

string
details

More about the error, such as the validation problems.

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": "example"
}
}