Skip to content

gravejester/PASM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

PASM

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

About

PowerShell Approximate String Matching (PASM)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages