HomeSort by relevance Sort by last modified time
    Searched refs:getEditDistance (Results 1 - 7 of 7) sorted by null

  /packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/utils/
damerau_levenshtein_edit_distance_policy_test.cpp 39 float getEditDistance(const std::vector<int> &codePoints0, const std::vector<int> &codePoints1) {
42 return EditDistance::getEditDistance(&policy);
46 EXPECT_FLOAT_EQ(0.0f, getEditDistance({}, {}));
47 EXPECT_FLOAT_EQ(0.0f, getEditDistance({ 1 }, { 1 }));
48 EXPECT_FLOAT_EQ(0.0f, getEditDistance({ 1, 2, 3 }, { 1, 2, 3 }));
50 EXPECT_FLOAT_EQ(1.0f, getEditDistance({ 1 }, { }));
51 EXPECT_FLOAT_EQ(1.0f, getEditDistance({}, { 100 }));
52 EXPECT_FLOAT_EQ(5.0f, getEditDistance({}, { 1, 2, 3, 4, 5 }));
54 EXPECT_FLOAT_EQ(1.0f, getEditDistance({ 0 }, { 100 }));
55 EXPECT_FLOAT_EQ(5.0f, getEditDistance({ 1, 2, 3, 4, 5 }, { 11, 12, 13, 14, 15 }))
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/utils/
autocorrection_threshold_utils.cpp 36 return static_cast<int>(EditDistance::getEditDistance(&daemaruLevenshtein));
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
edit_distance.h 30 AK_FORCE_INLINE static float getEditDistance(const EditDistancePolicy *const policy) {
  /external/clang/include/clang/Sema/
TypoCorrection.h 31 // mapped to InvalidDistance by getEditDistance).
116 unsigned getEditDistance(bool Normalized = true) const {
  /external/clang/lib/Sema/
SemaLookup.cpp     [all...]
SemaExprCXX.cpp     [all...]
SemaDecl.cpp     [all...]

Completed in 858 milliseconds