Skip to main content
. 2020 Feb 27;8(1):e15349. doi: 10.2196/15349

Table 2.

Python SequenceMatcher similarities for the strings s1, s2, and s3, based on the Gestalt pattern-matching algorithm.

String String, SequenceMatcher similarity

s1a s2b s3c
s1 100.0 68.18 32.55
s2 68.18 100.0 41.86
s3 32.55 46.51 100.0

as1: “Please show me your ID.”

bs2: “Show me your ID please.”

cs3: “Your ID. Show it to me.”