Text Similarity
Computes the similarity between a text and a list of candidates, extracting the text with the highest similarity above the specified threshold.
Category: Data Processing & Transformation · Group: Data Processing · Activity name: TextSimilarity

Example
outputVariable = TextSimilarity("<textCompare>", 0.93, candidates=[])
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Text to Compare | string | Yes | The text that is going to be compared with the original text. | |
| Similarity Threshold | float | Yes | 0.93 | The minimum value that the similarity should have (between 0 and 1 - recommended value between 0.9-0.99). |
| Candidates | array | Yes | This is the list of candidates that the text is going to be compared with. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | string | Specifies the name of the variable that will store the best matching candidate. |