playMaker

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

elusiven

  • Full Member
  • ***
  • Posts: 227
  • Debt we all must pay...
    • View Profile
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: 349
    • View Profile
    • terrivellmann.tumblr.com
Re: Calculate difference between strings, Levenshtein Distance
« Reply #1 on: March 23, 2017, 12:54:28 PM »
Cool! Thanks for sharing
TIL "levenshtein distance"

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12344
  • Official Playmaker Support
    • View Profile
Re: Calculate difference between strings, Levenshtein Distance
« Reply #2 on: March 23, 2017, 11:30:23 PM »
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: 227
  • Debt we all must pay...
    • View Profile
Re: Calculate difference between strings, Levenshtein Distance
« Reply #3 on: March 24, 2017, 03: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: 12344
  • Official Playmaker Support
    • View Profile
Re: Calculate difference between strings, Levenshtein Distance
« Reply #4 on: March 29, 2017, 02: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

  • Playmaker Newbie
  • *
  • Posts: 20
    • View Profile
Re: Calculate difference between strings, Levenshtein Distance
« Reply #5 on: April 29, 2017, 04: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 !