ML & NLP home

Minimum Edit Distance

Definition

-Minimum Edit Distance between two string is the minimum number of editing operations(like insertion,substitution, deletion & others) required to transform one string into the other.

Finding the Minimum edit distance

Stages: - Initial State : the word we are transforming. - Operators : insert,delete, substitute etc. - Goal State : the word we are trying to get to. - Path Cost : What we want to minimize: the number of edits

Ref: https://www.youtube.com/watch?v=CXfJNzD43OI