diff options
author | Kaelyn Uhrain <rikka@google.com> | 2012-02-14 18:56:48 +0000 |
---|---|---|
committer | Kaelyn Uhrain <rikka@google.com> | 2012-02-14 18:56:48 +0000 |
commit | 0a16a8e531ae504f95ac2c7f6b6b1ddd44c34eae (patch) | |
tree | a0ff5d69501be99bdffbe8fd8eabd6f91b7d1156 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | |
parent | 595111f2218371ab76af08b28f0003ad414be990 (diff) | |
download | llvm-0a16a8e531ae504f95ac2c7f6b6b1ddd44c34eae.zip llvm-0a16a8e531ae504f95ac2c7f6b6b1ddd44c34eae.tar.gz llvm-0a16a8e531ae504f95ac2c7f6b6b1ddd44c34eae.tar.bz2 |
Use several weighted factors to determine typo candidate viablity.
Replace the simple Levenshtein edit distance for typo correction
candidates--and the hacky way adding namespace qualifiers would affect
the edit distance--with a synthetic "edit distance" comprised of several
factors and their relative weights. This also allows the typo correction
callback object to convey more information about the viability of a
correction candidate than simply viable or not viable.
llvm-svn: 150495
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions