R - stringdist aFind() method, no maxDist parameter

74 Views Asked by At

The documentation for aFind, specifies a maxDist paramater you can use, but there is no maxDist parameter you can pass into aFind?

https://cran.r-project.org/web/packages/stringdist/stringdist.pdf

using this code:

result = afind(ae_target_term, ae_search_term,method="cosine", maxDist = 0.2)

just returns

Error in afind(ae_target_term, ae_search_term, method = "cosine", maxDist = 0.2): unused argument (maxDist = 0.2) Traceback:

1

There are 1 best solutions below

1
Mohamed Desouky On

maxDist is not argument of the function afind , it is argument of the functions grab , grabl and extract .