{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/StopwordConfig",
"title": "StopwordConfig",
"type": "object",
"description": "Fine-grained control over stopword list usage.",
"properties": {
"preset": {
"type": "string",
"description": "Pre-existing list of common words by language (default: `en`). Options: [`en`, `none`]."
},
"additions": {
"type": "array",
"description": "Stopwords to be considered additionally (default: []). Can be any array of custom strings.",
"items": {
"type": "string"
}
},
"removals": {
"type": "array",
"description": "Stopwords to be removed from consideration (default: []). Can be any array of custom strings.",
"items": {
"type": "string"
}
}
}
}