playMaker

Author Topic: Calculate difference between strings, Levenshtein Distance  (Read 3028 times)

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
Hi there,

I needed this for my app, so I made a quick action if anyone needs it.

It calculates the error margin between two strings, and gives  you the result in an int. Optionally you can setup an int to compare with and send events.

Attached to the post

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Calculate difference between strings, Levenshtein Distance
« Reply #1 on: March 23, 2017, 03:54:28 PM »
Cool! Thanks for sharing
TIL "levenshtein distance"

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Calculate difference between strings, Levenshtein Distance
« Reply #2 on: March 24, 2017, 02:30:23 AM »
Hi,

 Cool! I would give an everyframe option, just to give flexibility to the action usage.

 Also, It would be great you put these actions on the Ecosystem, it will be easier for developers to get it and install it in their projects. Let me know if you are up for this, I can help set yourself up to do this.

Else, I can put it up if you don't mind.

Bye,

 Jean

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
Re: Calculate difference between strings, Levenshtein Distance
« Reply #3 on: March 24, 2017, 06:03:05 AM »
Hi,

 Cool! I would give an everyframe option, just to give flexibility to the action usage.

 Also, It would be great you put these actions on the Ecosystem, it will be easier for developers to get it and install it in their projects. Let me know if you are up for this, I can help set yourself up to do this.

Else, I can put it up if you don't mind.

Bye,

 Jean

Hey Jean,

Okay, that's a good idea i'l add it.

Yeah sure, set me up.. Are you using github to store them?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Calculate difference between strings, Levenshtein Distance
« Reply #4 on: March 29, 2017, 05:11:42 AM »
Hi,

 yes, github, can you pm me with your github account username, I'll give you access to all reps.

 Bye,

 Jean

drown

  • Junior Playmaker
  • **
  • Posts: 58
Re: Calculate difference between strings, Levenshtein Distance
« Reply #5 on: April 29, 2017, 07:52:05 PM »
This is so amazing, I was looking for something like this but had no idea how to call or find it. Thank you so much !