Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

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

Output

Status
subtletrue
titlenumber

Available since

Status
subtletrue
colourBlue
title2.2.29




UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
similarity(text1, text2) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
similarity("JIRA Workflow Toolbox", "jira workflow toolbox")


This example returns the number 100


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


This example returns the number 97


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


This example returns the number 92


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


This example returns the number 91


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


This example returns the number 90


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


This example returns the number 69


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


This example returns the number 51



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
text1

Status
subtletrue
titletext

Any given text.
text2

Status
subtletrue
titletext

Any given text.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber
.

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