You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

This function returns a number between 0 and 100 representing the percentage of similarity between two texts based on the Jaro Winkler similarity algorithm.

Syntax
similarity(text1, text2) #Output: Number
Examples
Parser expressionDescription
similarity("JIRA Workflow Toolbox", "jira workflow toolbox")

This example returns the number 100

similarity("JIRA Workflow Toolbox", "Jira WorflowTolbox")

This example returns the number 97

similarity("My Gym. Childrens Fitness", "My Gym Children's Fitness Center")

This example returns the number 92

similarity("D N H Enterprises Inc", "D & H Enterprises, Inc.")

This example returns the number 91

similarity("ABC Corporation", "ABC Corp'")

This example returns the number 90

similarity("Hello World!", "Bye bye World!")

This example returns the number 69

similarity("I caught a lizard", "This is my giraffe")

This example returns the number 51

Additional information

Parameters used in this function

ParameterInput (data type)Description
text1

TEXT

Any given text.
text2

TEXT

Any given text.
Output

This function returns a NUMBER.

100 represents full equivalence, and 0 represents zero similarity between both string arguments.