0

I am using levenshteinSim() to do the approximate string matching. I am facing a problem here is what my data look like

string = "Mitchell" 
stringvector = c("Ray Mitchell", "Mitchell Dough","Juila Mitch")

. I want the algorithm to match only second part of the Stringvector, not the first half..How do i do it. I really appreciate your help. And how do I use weighing schema? Thanks Kothavari

doctorlove
  • 18,872
  • 2
  • 46
  • 62
Kothavari
  • 11
  • 3

1 Answers1

0

I believe you will need to preprocess the data to just pull out the second part of the string and use the algo on that.

Other people seem to do some preproessing first. See here

Community
  • 1
  • 1
doctorlove
  • 18,872
  • 2
  • 46
  • 62