Optional
transformsOptional
strategiesAn array of strategies used to score similarity. All strategies scores are combined for an average high score.
Optional
reorderReorder second string so its token match order of first string as closely as possible
Useful when only the differences in content are important, but not the order of the content
Optional
delimiterWhen reorder
is used this determines how to split each string into the tokens that will be reordered.
The value of this property is used in String.split() -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split#separator
An array of transformations to apply to each string before comparing similarity