calculate_text_similarity
Compare two text strings and return a similarity score using Levenshtein or Jaccard algorithms.
Instructions
Calculate similarity between two text strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text1 | Yes | First text string | |
| text2 | Yes | Second text string | |
| method | No | Algorithm - "levenshtein" or "jaccard" (default: levenshtein) | levenshtein |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |