Stop Word
Stop Word (stop-word)
Section titled “Stop Word (stop-word)”Remove or mask common stop words from textual content.
Text AI & ML Transform json
Minimal example
Section titled “Minimal example”actions: - stop-word: {}JSON
{ "actions": [ { "stop-word": {} } ]}Contents
Section titled “Contents”A ✓ marks a field that accepts a context variable such as
{{ VARIABLE }}.
Behaviour
Section titled “Behaviour”Behaviour
| Field | Type | Required | Description |
|---|---|---|---|
language |
string |
Named language profile for the built-in stop word lists. | |
custom |
string[] |
Custom stop words to merge with the language profile. | |
case-sensitive ✓ |
boolean (bool) |
Treat comparisons as case sensitive. Default: false |
|
preserve-phrases ✓ |
boolean (bool) |
Preserve multi-word phrases when present in the input. Default: false |
General
Section titled “General”General
| Field | Type | Required | Description |
|---|---|---|---|
description |
string |
Describe this step. | |
condition |
lua-expression (string) |
Only run this action if the condition is met. Examples: 2 * count() |
Input
| Field | Type | Required | Description |
|---|---|---|---|
input-field |
field (string) |
Field containing the input text. Examples: data_field |
|
tokens-field |
field (string) |
Field containing an existing array of tokens to filter. Examples: data_field |
Output
Section titled “Output”Output
| Field | Type | Required | Description |
|---|---|---|---|
output-field |
field (string) |
Field to write the filtered output to (defaults to input when unset). Examples: data_field |
|
metrics-field |
field (string) |
Optional field to capture statistics about removals. Examples: data_field |