diff options
author | 2013-05-30 20:12:47 +0900 | |
---|---|---|
committer | 2013-05-30 20:12:47 +0900 | |
commit | 94da44e43eac54047fb690c753d3af2a7d3a03c8 (patch) | |
tree | 50f1eae077ebfb065e0a82f3dc401ac7bc8bef53 /native/jni/src/additional_proximity_chars.cpp | |
parent | 29432f843a8cd6ffb2be286104964592e80d77c9 (diff) | |
download | latinime-94da44e43eac54047fb690c753d3af2a7d3a03c8.tar.gz latinime-94da44e43eac54047fb690c753d3af2a7d3a03c8.tar.xz latinime-94da44e43eac54047fb690c753d3af2a7d3a03c8.zip |
Move additional_proximity_chars to the layout directory
Change-Id: Ie892ea9f3199a66e9d62a92a0e1ab2dff62826c3
Diffstat (limited to 'native/jni/src/additional_proximity_chars.cpp')
-rw-r--r-- | native/jni/src/additional_proximity_chars.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/native/jni/src/additional_proximity_chars.cpp b/native/jni/src/additional_proximity_chars.cpp deleted file mode 100644 index 661c50e91..000000000 --- a/native/jni/src/additional_proximity_chars.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include "additional_proximity_chars.h" - -namespace latinime { -// TODO: Stop using hardcoded additional proximity characters. -// TODO: Have proximity character informations in each language's binary dictionary. -const char *AdditionalProximityChars::LOCALE_EN_US = "en"; - -const int AdditionalProximityChars::EN_US_ADDITIONAL_A[EN_US_ADDITIONAL_A_SIZE] = { - 'e', 'i', 'o', 'u' -}; - -const int AdditionalProximityChars::EN_US_ADDITIONAL_E[EN_US_ADDITIONAL_E_SIZE] = { - 'a', 'i', 'o', 'u' -}; - -const int AdditionalProximityChars::EN_US_ADDITIONAL_I[EN_US_ADDITIONAL_I_SIZE] = { - 'a', 'e', 'o', 'u' -}; - -const int AdditionalProximityChars::EN_US_ADDITIONAL_O[EN_US_ADDITIONAL_O_SIZE] = { - 'a', 'e', 'i', 'u' -}; - -const int AdditionalProximityChars::EN_US_ADDITIONAL_U[EN_US_ADDITIONAL_U_SIZE] = { - 'a', 'e', 'i', 'o' -}; -} // namespace latinime |