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