]> khamidou — GitHub mirrors - arcanist.git/commit
Use Damerau-Levenshtein to improve british spellings
authorepriestley <git@epriestley.com>
Thu, 21 Feb 2013 18:16:02 +0000 (10:16 -0800)
committerepriestley <git@epriestley.com>
Thu, 21 Feb 2013 18:16:02 +0000 (10:16 -0800)
commit3136edf9de0cf316171e9ea027bf8fd364d7217e
tree5461b83597b3bd67546557c40c7f24b1d87356f7
parente96db5412553c8324eda2d004b65ad39082a84c8
Use Damerau-Levenshtein to improve british spellings

Summary: Price transpositions very cheaply. We might need to edit these weights a bit, but this covers the two previous cases ("test", "alnd") and gets them right.

Test Plan: Unit tests, various `arc x` tests.

Reviewers: vrana

Reviewed By: vrana

CC: aran
Differential Revision: https://secure.phabricator.com/D5034
src/configuration/ArcanistConfiguration.php
src/configuration/__tests__/ArcanistBritishTestCase.php