Find and rank similar strings using Levenshtein distance
/
)"documents/reports/quarterly_sales_report_2024_v2.pdf"
→ "quarterly sales report"
"documents/archive/quarterly_sales_report_2023_final.pdf"
→ "quarterly sales report"
search term
- The string you want to find matches for
items to search
- Array of strings to search through
use smart extraction
- Extract and compare only the most relevant parts of paths (default: false)
exclude patterns
- Patterns to exclude during smart extraction (default: none)
split value
- Character used to split paths when using smart extraction (default: /)
max results
- Maximum number of results to return (default: 5)