PowerShell Approximate String Matching (PASM)
Functions:
- Compare-Soundex (compare two strings using soundex)
- Get-PasmScore
- Compare-PasmAlgorithms
- Search-For
Algorithms included:
- Overlap Coefficient
- Longest Common Substring
- Longest Common Subsequence
- Soundex
- Hamming Distance (modified to work with strings of different lenghts, supports normalized output)
- Ratcliff/Obershelp Similarity
- Jaccard Distance & Jaccard Index
- Sorensen Dice Distance & Sorensen Dice Coefficient
- Jaro-Winkler Distance (can also output Jaro Distance, supports normalized output)
- Levenshtein Distance (supports normalized output)
Helper functions:
- Get-Intersection
- Get-StringIntersection
- Get-Union
- Get-StringUnion
- Get-NGrams
- Get-CommonPrefix
- Get-CommonSuffix
- ConvertTo-SoundexNumber