Allow typo in search key
* Introduce Levenshtein algorithm * New API param 'typos' to give number of typos allowed * test cases Change-Id: I22bf34d08a910d1509d7eab5adc292eadc9a7c7d
This commit is contained in:
1 parent
878313d2ec
commit
76f9038aff
3 files changed
+63
-6
No files matched your search
@@ -54,6 +54,14 @@ class LanguageSearchTest extends PHPUnit_Framework_TestCase {
|
||||
'fro' => 'الفرنسية القديمة',
|
||||
)
|
||||
),
|
||||
array( "മലയളം", array(
|
||||
'ml' => "മലയാളം",
|
||||
)
|
||||
),
|
||||
array( "finish", array(
|
||||
'fi' => 'finnish'
|
||||
)
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user