Ninja
|
Go to the source code of this file.
Functions | |
int | EditDistance (const StringPiece &s1, const StringPiece &s2, bool allow_replacements, int max_edit_distance) |
int EditDistance | ( | const StringPiece & | s1, |
const StringPiece & | s2, | ||
bool | allow_replacements, | ||
int | max_edit_distance | ||
) |
Definition at line 19 of file edit_distance.cc.
References StringPiece::len_, and StringPiece::str_.
Referenced by State::SpellcheckNode(), SpellcheckStringV(), and TEST().