website logo
πŸ”­Overview
πŸ’ΌPlatform Actions
πŸ’œIntegrations
🧰Custom Actions
πŸ› οΈDeveloper's Guide
Navigate through spaces
⌘K
πŸ“•Call API
πŸ“•Generate Document
πŸ“•Call Subprocess
πŸ“•Decisional
βš“Decisional Further Reading
πŸ“•Join
πŸ“•Delay
πŸ“•For Each
πŸ“•Get File Data
πŸ“•Map Process Data
βœ‰οΈSend Email
πŸ“¬Inbound email
πŸ“Database
πŸ“Documents
πŸ“DateTime
πŸ“FTP/sFTP
πŸ“Json
πŸ“XPath
πŸ“Lists
πŸ“Numerical
πŸ“Strings
πŸ“Converters
πŸ“Excel
πŸ“Scripting
πŸ“Utilitary
πŸ“Pdf
πŸ“Beta
Docs powered byΒ archbeeΒ 

String similarity

5min

One of the most useful string actions set at your disposal isΒ Search By String Similarity, it allows you to search inside a list of strings using similarity algorithmsΒ with a specified precision.

String Similarity Algorithms

  1. Block Distance
  2. Chapman Length Deviation
  3. Chapman Mean Deviation
  4. Cosine Similarity
  5. Jaccard Similarity
  6. Euclidean Distance
  7. Dice Similarity
  8. Jaro
  9. Jaro Winkler
  10. Matching Coefficient
  11. Monge Elkan
  12. Levenstein
  13. Needleman Wunch
  14. Overlap Coefficient
  15. QGrams Distance
  16. Smith Waterman
  17. Smith Waterman Gotoh
  18. Smith Waterman Gotoh Windowed Affine
Document image
ο»Ώ

When configuring the action you will need to have the following variables prepared:

  • a list variable containing the strings to search in;
  • a variable containing the string you search for;
  • a integer variable for the number of strings to expect;
  • the output list<string> containing the result
Document image
ο»Ώ

Use the following configurations for the action, with the mention that:

Document image
ο»Ώ
  • Similarity algorithm - is theΒ similarity threshold is used on each string of the list. You will use aΒ intΒ between 0 and 1, the smaller it is the less similar the result will be.
  • Similarity algorithm - the dropdown allows you to choose the algorithm used.

For a more in depth guide intended for C#/.Net developers follow thisΒ link.

The code used to create the SearchByStringSimilarity can be found here.

ο»Ώ

Updated 31 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
HTML Sanitizer
NEXT
RegEx Replace
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
String Similarity Algorithms