Calculate Text Similarity

Calculates the similarity score of two input texts.

This activity calculates the similarity score of two user-specified text inputs.

Input

  • Text 1: String Argument Required Specifies the first text input.

  • Text 2: String Argument Required Specifies the second text to be compared with the first input.

Configure

  • Scoring Method: Specifies the scoring method used for calculating the similarity. The available options are:-

    • Exact - To obtain a score for an exact match of the 2 input texts. That means if the two input strings are of the exact match then the score will be 100 else it will be 0.

    • Levenshtein - To obtain a score to determine the number of shift, replace and insert operations that are required to transform Text1 input to Text2 input.

Output

  • Similarity: Integer Variable Specifies the similarity in the range 0-100, 0 means strings are completely different and 100 means exact match.

Last updated