philipperemy / name-dataset

The Python library for names.
Apache License 2.0
838 stars 152 forks source link

How to autocorrect name if name is in dataset? #18

Closed marcianorama closed 2 years ago

marcianorama commented 2 years ago

I am looking to go a step further, I am looking to autocorrect name if user input name is typo?

ex : user input : Eajar correct input : Fajar

philipperemy commented 2 years ago

@marcianorama I think you want to use the edit distance: