SkillAgentSearch skills...

PASM

PowerShell Approximate String Matching (PASM)

Install / Use

/learn @gravejester/PASM
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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
View on GitHub
GitHub Stars7
CategoryDevelopment
Updated2y ago
Forks1

Languages

PowerShell

Security Score

70/100

Audited on Nov 26, 2023

No findings