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.”