blob: ad19f58b5a210fbf10495259eebb3fcd4df32d3b [file] [log] [blame]
satok8fbd5522011-02-22 17:28:55 +09001/*
2 * Copyright (C) 2011 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090017#include <assert.h>
satok8fbd5522011-02-22 17:28:55 +090018#include <stdio.h>
19#include <string.h>
20
satok817e5172011-03-04 06:06:45 -080021#define LOG_TAG "LatinIME: proximity_info.cpp"
22
satokd24df432011-07-14 15:43:42 +090023#include "dictionary.h"
satok8fbd5522011-02-22 17:28:55 +090024#include "proximity_info.h"
25
26namespace latinime {
Ken Wakasace9e52a2011-06-18 13:09:55 +090027
Yusuke Nojimade2f8422011-09-27 11:15:18 +090028inline void copyOrFillZero(void *to, const void *from, size_t size) {
29 if (from) {
30 memcpy(to, from, size);
31 } else {
32 memset(to, 0, size);
33 }
34}
35
satok817e5172011-03-04 06:06:45 -080036ProximityInfo::ProximityInfo(const int maxProximityCharsSize, const int keyboardWidth,
37 const int keyboardHeight, const int gridWidth, const int gridHeight,
satoka70ee6e2012-03-07 15:12:22 +090038 const int mostCommonKeyWidth,
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090039 const uint32_t *proximityCharsArray, const int keyCount, const int32_t *keyXCoordinates,
40 const int32_t *keyYCoordinates, const int32_t *keyWidths, const int32_t *keyHeights,
Yusuke Nojimaad358352011-09-29 16:44:54 +090041 const int32_t *keyCharCodes, const float *sweetSpotCenterXs, const float *sweetSpotCenterYs,
42 const float *sweetSpotRadii)
satok817e5172011-03-04 06:06:45 -080043 : MAX_PROXIMITY_CHARS_SIZE(maxProximityCharsSize), KEYBOARD_WIDTH(keyboardWidth),
44 KEYBOARD_HEIGHT(keyboardHeight), GRID_WIDTH(gridWidth), GRID_HEIGHT(gridHeight),
satoka70ee6e2012-03-07 15:12:22 +090045 MOST_COMMON_KEY_WIDTH_SQUARE(mostCommonKeyWidth * mostCommonKeyWidth),
satok817e5172011-03-04 06:06:45 -080046 CELL_WIDTH((keyboardWidth + gridWidth - 1) / gridWidth),
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090047 CELL_HEIGHT((keyboardHeight + gridHeight - 1) / gridHeight),
Yusuke Nojima258bfe62011-09-28 12:59:43 +090048 KEY_COUNT(min(keyCount, MAX_KEY_COUNT_IN_A_KEYBOARD)),
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +090049 HAS_TOUCH_POSITION_CORRECTION_DATA(keyCount > 0 && keyXCoordinates && keyYCoordinates
50 && keyWidths && keyHeights && keyCharCodes && sweetSpotCenterXs
51 && sweetSpotCenterYs && sweetSpotRadii),
Tadashi G. Takaoka0e971482011-10-28 17:02:09 +090052 mInputXCoordinates(0), mInputYCoordinates(0),
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +090053 mTouchPositionCorrectionEnabled(false) {
Jean Chalard8c8ca592011-11-10 12:07:30 +090054 const int proximityGridLength = GRID_WIDTH * GRID_HEIGHT * MAX_PROXIMITY_CHARS_SIZE;
55 mProximityCharsArray = new uint32_t[proximityGridLength];
satok817e5172011-03-04 06:06:45 -080056 if (DEBUG_PROXIMITY_INFO) {
satok9fb6f472012-01-13 18:01:22 +090057 AKLOGI("Create proximity info array %d", proximityGridLength);
satok817e5172011-03-04 06:06:45 -080058 }
Jean Chalard8c8ca592011-11-10 12:07:30 +090059 memcpy(mProximityCharsArray, proximityCharsArray,
60 proximityGridLength * sizeof(mProximityCharsArray[0]));
61 const int normalizedSquaredDistancesLength =
62 MAX_PROXIMITY_CHARS_SIZE * MAX_WORD_LENGTH_INTERNAL;
63 mNormalizedSquaredDistances = new int[normalizedSquaredDistancesLength];
64 for (int i = 0; i < normalizedSquaredDistancesLength; ++i) {
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +090065 mNormalizedSquaredDistances[i] = NOT_A_DISTANCE;
66 }
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090067
Yusuke Nojimade2f8422011-09-27 11:15:18 +090068 copyOrFillZero(mKeyXCoordinates, keyXCoordinates, KEY_COUNT * sizeof(mKeyXCoordinates[0]));
69 copyOrFillZero(mKeyYCoordinates, keyYCoordinates, KEY_COUNT * sizeof(mKeyYCoordinates[0]));
70 copyOrFillZero(mKeyWidths, keyWidths, KEY_COUNT * sizeof(mKeyWidths[0]));
71 copyOrFillZero(mKeyHeights, keyHeights, KEY_COUNT * sizeof(mKeyHeights[0]));
72 copyOrFillZero(mKeyCharCodes, keyCharCodes, KEY_COUNT * sizeof(mKeyCharCodes[0]));
Yusuke Nojimaad358352011-09-29 16:44:54 +090073 copyOrFillZero(mSweetSpotCenterXs, sweetSpotCenterXs,
74 KEY_COUNT * sizeof(mSweetSpotCenterXs[0]));
75 copyOrFillZero(mSweetSpotCenterYs, sweetSpotCenterYs,
76 KEY_COUNT * sizeof(mSweetSpotCenterYs[0]));
77 copyOrFillZero(mSweetSpotRadii, sweetSpotRadii, KEY_COUNT * sizeof(mSweetSpotRadii[0]));
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090078
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090079 initializeCodeToKeyIndex();
80}
81
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090082// Build the reversed look up table from the char code to the index in mKeyXCoordinates,
83// mKeyYCoordinates, mKeyWidths, mKeyHeights, mKeyCharCodes.
84void ProximityInfo::initializeCodeToKeyIndex() {
Yusuke Nojimaad358352011-09-29 16:44:54 +090085 memset(mCodeToKeyIndex, -1, (MAX_CHAR_CODE + 1) * sizeof(mCodeToKeyIndex[0]));
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090086 for (int i = 0; i < KEY_COUNT; ++i) {
87 const int code = mKeyCharCodes[i];
Yusuke Nojimaad358352011-09-29 16:44:54 +090088 if (0 <= code && code <= MAX_CHAR_CODE) {
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090089 mCodeToKeyIndex[code] = i;
Yusuke Nojimaad358352011-09-29 16:44:54 +090090 }
Yusuke Nojima0e1f6562011-09-21 12:02:47 +090091 }
satok8fbd5522011-02-22 17:28:55 +090092}
93
94ProximityInfo::~ProximityInfo() {
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +090095 delete[] mNormalizedSquaredDistances;
satok8fbd5522011-02-22 17:28:55 +090096 delete[] mProximityCharsArray;
97}
satok817e5172011-03-04 06:06:45 -080098
99inline int ProximityInfo::getStartIndexFromCoordinates(const int x, const int y) const {
satok3c4bb772011-03-04 22:50:19 -0800100 return ((y / CELL_HEIGHT) * GRID_WIDTH + (x / CELL_WIDTH))
satok817e5172011-03-04 06:06:45 -0800101 * MAX_PROXIMITY_CHARS_SIZE;
satok8fbd5522011-02-22 17:28:55 +0900102}
satok817e5172011-03-04 06:06:45 -0800103
104bool ProximityInfo::hasSpaceProximity(const int x, const int y) const {
satok744dab62011-12-15 22:29:05 +0900105 if (x < 0 || y < 0) {
106 if (DEBUG_DICT) {
satok9fb6f472012-01-13 18:01:22 +0900107 AKLOGI("HasSpaceProximity: Illegal coordinates (%d, %d)", x, y);
satok1a6da632011-12-16 23:15:06 +0900108 assert(false);
satok744dab62011-12-15 22:29:05 +0900109 }
110 return false;
111 }
112
satok817e5172011-03-04 06:06:45 -0800113 const int startIndex = getStartIndexFromCoordinates(x, y);
114 if (DEBUG_PROXIMITY_INFO) {
satok9fb6f472012-01-13 18:01:22 +0900115 AKLOGI("hasSpaceProximity: index %d, %d, %d", startIndex, x, y);
satok817e5172011-03-04 06:06:45 -0800116 }
117 for (int i = 0; i < MAX_PROXIMITY_CHARS_SIZE; ++i) {
118 if (DEBUG_PROXIMITY_INFO) {
satok9fb6f472012-01-13 18:01:22 +0900119 AKLOGI("Index: %d", mProximityCharsArray[startIndex + i]);
satok817e5172011-03-04 06:06:45 -0800120 }
121 if (mProximityCharsArray[startIndex + i] == KEYCODE_SPACE) {
122 return true;
123 }
124 }
125 return false;
126}
Ken Wakasace9e52a2011-06-18 13:09:55 +0900127
satoka70ee6e2012-03-07 15:12:22 +0900128bool ProximityInfo::isOnKey(const int keyId, const int x, const int y) {
129 const int left = mKeyXCoordinates[keyId];
130 const int top = mKeyYCoordinates[keyId];
131 const int right = left + mKeyWidths[keyId] + 1;
132 const int bottom = top + mKeyHeights[keyId];
133 return left < right && top < bottom && x >= left && x < right && y >= top && y < bottom;
134}
135
136int ProximityInfo::squaredDistanceToEdge(const int keyId, const int x, const int y) {
137 const int left = mKeyXCoordinates[keyId];
138 const int top = mKeyYCoordinates[keyId];
139 const int right = left + mKeyWidths[keyId] + 1;
140 const int bottom = top + mKeyHeights[keyId];
141 const int edgeX = x < left ? left : (x > right ? right : x);
142 const int edgeY = y < top ? top : (y > bottom ? bottom : y);
143 const int dx = x - edgeX;
144 const int dy = y - edgeY;
145 return dx * dx + dy * dy;
146}
147
148void ProximityInfo::calculateNearbyKeyCodes(
149 const int x, const int y, const uint32_t primaryKey, int *inputCodes) {
150 int insertPos = 0;
151 inputCodes[insertPos++] = primaryKey;
152 const int startIndex = getStartIndexFromCoordinates(x, y);
153 for (int i = 0; i < MAX_PROXIMITY_CHARS_SIZE; ++i) {
154 const uint32_t c = mProximityCharsArray[startIndex + i];
155 if (c < KEYCODE_SPACE || c == primaryKey) {
156 continue;
157 }
158 for (int j = 0; j < KEY_COUNT; ++j) {
159 const bool onKey = isOnKey(j, x, y);
160 const int distance = squaredDistanceToEdge(j, x, y);
161 if (onKey || distance < MOST_COMMON_KEY_WIDTH_SQUARE) {
162 inputCodes[insertPos++] = c;
163 }
164 }
165 }
166 // TODO: calculate additional chars
167}
168
satok1d7eaf82011-07-13 10:32:02 +0900169// TODO: Calculate nearby codes here.
Yusuke Nojima258bfe62011-09-28 12:59:43 +0900170void ProximityInfo::setInputParams(const int* inputCodes, const int inputLength,
171 const int* xCoordinates, const int* yCoordinates) {
satok1d7eaf82011-07-13 10:32:02 +0900172 mInputCodes = inputCodes;
Yusuke Nojima258bfe62011-09-28 12:59:43 +0900173 mInputXCoordinates = xCoordinates;
174 mInputYCoordinates = yCoordinates;
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900175 mTouchPositionCorrectionEnabled =
176 HAS_TOUCH_POSITION_CORRECTION_DATA && xCoordinates && yCoordinates;
satok1d7eaf82011-07-13 10:32:02 +0900177 mInputLength = inputLength;
satok0cedd2b2011-08-12 01:05:27 +0900178 for (int i = 0; i < inputLength; ++i) {
179 mPrimaryInputWord[i] = getPrimaryCharAt(i);
180 }
181 mPrimaryInputWord[inputLength] = 0;
Yusuke Nojimac25c7cc2011-10-03 16:44:29 +0900182 for (int i = 0; i < mInputLength; ++i) {
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900183 const int *proximityChars = getProximityCharsAt(i);
184 for (int j = 0; j < MAX_PROXIMITY_CHARS_SIZE && proximityChars[j] > 0; ++j) {
185 const int currentChar = proximityChars[j];
186 const int keyIndex = getKeyIndex(currentChar);
187 const float squaredDistance = calculateNormalizedSquaredDistance(keyIndex, i);
188 if (squaredDistance >= 0.0f) {
189 mNormalizedSquaredDistances[i * MAX_PROXIMITY_CHARS_SIZE + j] =
190 (int)(squaredDistance * NORMALIZED_SQUARED_DISTANCE_SCALING_FACTOR);
191 } else {
192 mNormalizedSquaredDistances[i * MAX_PROXIMITY_CHARS_SIZE + j] = (j == 0)
193 ? EQUIVALENT_CHAR_WITHOUT_DISTANCE_INFO
194 : PROXIMITY_CHAR_WITHOUT_DISTANCE_INFO;
195 }
Yusuke Nojimae4ba8222011-10-05 14:55:07 +0900196 }
Yusuke Nojimac25c7cc2011-10-03 16:44:29 +0900197 }
satok1d7eaf82011-07-13 10:32:02 +0900198}
199
Yusuke Nojima16717152011-10-04 17:04:07 +0900200inline float square(const float x) { return x * x; }
201
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900202float ProximityInfo::calculateNormalizedSquaredDistance(
203 const int keyIndex, const int inputIndex) const {
Yusuke Nojimae4ba8222011-10-05 14:55:07 +0900204 static const float NOT_A_DISTANCE_FLOAT = -1.0f;
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900205 if (keyIndex == NOT_A_INDEX) {
Yusuke Nojimae4ba8222011-10-05 14:55:07 +0900206 return NOT_A_DISTANCE_FLOAT;
Yusuke Nojimac25c7cc2011-10-03 16:44:29 +0900207 }
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900208 if (!hasSweetSpotData(keyIndex)) {
Yusuke Nojimae4ba8222011-10-05 14:55:07 +0900209 return NOT_A_DISTANCE_FLOAT;
Yusuke Nojima16717152011-10-04 17:04:07 +0900210 }
Jean Chalard0bfe3592012-01-25 18:11:26 +0900211 if (NOT_A_COORDINATE == mInputXCoordinates[inputIndex]) {
212 return NOT_A_DISTANCE_FLOAT;
213 }
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900214 const float squaredDistance = calculateSquaredDistanceFromSweetSpotCenter(keyIndex, inputIndex);
215 const float squaredRadius = square(mSweetSpotRadii[keyIndex]);
Yusuke Nojimae4ba8222011-10-05 14:55:07 +0900216 return squaredDistance / squaredRadius;
Yusuke Nojima16717152011-10-04 17:04:07 +0900217}
218
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900219int ProximityInfo::getKeyIndex(const int c) const {
220 if (KEY_COUNT == 0 || !mInputXCoordinates || !mInputYCoordinates) {
221 // We do not have the coordinate data
222 return NOT_A_INDEX;
223 }
Tadashi G. Takaoka6e3cb272011-11-11 14:26:13 +0900224 const unsigned short baseLowerC = toBaseLowerCase(c);
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900225 if (baseLowerC > MAX_CHAR_CODE) {
226 return NOT_A_INDEX;
227 }
228 return mCodeToKeyIndex[baseLowerC];
229}
230
Yusuke Nojimac25c7cc2011-10-03 16:44:29 +0900231float ProximityInfo::calculateSquaredDistanceFromSweetSpotCenter(
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900232 const int keyIndex, const int inputIndex) const {
Yusuke Nojimac25c7cc2011-10-03 16:44:29 +0900233 const float sweetSpotCenterX = mSweetSpotCenterXs[keyIndex];
234 const float sweetSpotCenterY = mSweetSpotCenterYs[keyIndex];
235 const float inputX = (float)mInputXCoordinates[inputIndex];
236 const float inputY = (float)mInputYCoordinates[inputIndex];
237 return square(inputX - sweetSpotCenterX) + square(inputY - sweetSpotCenterY);
238}
239
satokd24df432011-07-14 15:43:42 +0900240inline const int* ProximityInfo::getProximityCharsAt(const int index) const {
satok1d7eaf82011-07-13 10:32:02 +0900241 return mInputCodes + (index * MAX_PROXIMITY_CHARS_SIZE);
242}
243
satokd24df432011-07-14 15:43:42 +0900244unsigned short ProximityInfo::getPrimaryCharAt(const int index) const {
245 return getProximityCharsAt(index)[0];
246}
247
satok2df30602011-07-15 13:49:00 +0900248inline bool ProximityInfo::existsCharInProximityAt(const int index, const int c) const {
satokd24df432011-07-14 15:43:42 +0900249 const int *chars = getProximityCharsAt(index);
250 int i = 0;
251 while (chars[i] > 0 && i < MAX_PROXIMITY_CHARS_SIZE) {
252 if (chars[i++] == c) {
253 return true;
254 }
255 }
256 return false;
257}
258
259bool ProximityInfo::existsAdjacentProximityChars(const int index) const {
260 if (index < 0 || index >= mInputLength) return false;
261 const int currentChar = getPrimaryCharAt(index);
262 const int leftIndex = index - 1;
263 if (leftIndex >= 0 && existsCharInProximityAt(leftIndex, currentChar)) {
264 return true;
265 }
266 const int rightIndex = index + 1;
267 if (rightIndex < mInputLength && existsCharInProximityAt(rightIndex, currentChar)) {
268 return true;
269 }
270 return false;
271}
272
273// In the following function, c is the current character of the dictionary word
274// currently examined.
275// currentChars is an array containing the keys close to the character the
276// user actually typed at the same position. We want to see if c is in it: if so,
277// then the word contains at that position a character close to what the user
278// typed.
279// What the user typed is actually the first character of the array.
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900280// proximityIndex is a pointer to the variable where getMatchedProximityId returns
281// the index of c in the proximity chars of the input index.
satokd24df432011-07-14 15:43:42 +0900282// Notice : accented characters do not have a proximity list, so they are alone
283// in their list. The non-accented version of the character should be considered
284// "close", but not the other keys close to the non-accented version.
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900285ProximityInfo::ProximityType ProximityInfo::getMatchedProximityId(const int index,
286 const unsigned short c, const bool checkProximityChars, int *proximityIndex) const {
satokd24df432011-07-14 15:43:42 +0900287 const int *currentChars = getProximityCharsAt(index);
Yusuke Nojima258bfe62011-09-28 12:59:43 +0900288 const int firstChar = currentChars[0];
Tadashi G. Takaoka6e3cb272011-11-11 14:26:13 +0900289 const unsigned short baseLowerC = toBaseLowerCase(c);
satokd24df432011-07-14 15:43:42 +0900290
291 // The first char in the array is what user typed. If it matches right away,
292 // that means the user typed that same char for this pos.
Yusuke Nojima258bfe62011-09-28 12:59:43 +0900293 if (firstChar == baseLowerC || firstChar == c) {
Yusuke Nojimae4ba8222011-10-05 14:55:07 +0900294 return EQUIVALENT_CHAR;
Yusuke Nojima258bfe62011-09-28 12:59:43 +0900295 }
satokd24df432011-07-14 15:43:42 +0900296
satok985312e2011-08-05 21:21:01 +0900297 if (!checkProximityChars) return UNRELATED_CHAR;
satokd24df432011-07-14 15:43:42 +0900298
299 // If the non-accented, lowercased version of that first character matches c,
300 // then we have a non-accented version of the accented character the user
301 // typed. Treat it as a close char.
Tadashi G. Takaoka6e3cb272011-11-11 14:26:13 +0900302 if (toBaseLowerCase(firstChar) == baseLowerC)
satokd24df432011-07-14 15:43:42 +0900303 return NEAR_PROXIMITY_CHAR;
304
305 // Not an exact nor an accent-alike match: search the list of close keys
306 int j = 1;
satoke05b3f42012-01-31 17:15:43 +0900307 while (j < MAX_PROXIMITY_CHARS_SIZE
308 && currentChars[j] > ADDITIONAL_PROXIMITY_CHAR_DELIMITER_CODE) {
satokd24df432011-07-14 15:43:42 +0900309 const bool matched = (currentChars[j] == baseLowerC || currentChars[j] == c);
Yusuke Nojimaa4c1f1c2011-10-06 19:12:20 +0900310 if (matched) {
311 if (proximityIndex) {
312 *proximityIndex = j;
313 }
314 return NEAR_PROXIMITY_CHAR;
315 }
satokd24df432011-07-14 15:43:42 +0900316 ++j;
317 }
satoke05b3f42012-01-31 17:15:43 +0900318 if (j < MAX_PROXIMITY_CHARS_SIZE
319 && currentChars[j] == ADDITIONAL_PROXIMITY_CHAR_DELIMITER_CODE) {
320 ++j;
321 while (j < MAX_PROXIMITY_CHARS_SIZE
322 && currentChars[j] > ADDITIONAL_PROXIMITY_CHAR_DELIMITER_CODE) {
323 const bool matched = (currentChars[j] == baseLowerC || currentChars[j] == c);
324 if (matched) {
325 if (proximityIndex) {
326 *proximityIndex = j;
327 }
328 return ADDITIONAL_PROXIMITY_CHAR;
329 }
330 ++j;
331 }
332 }
satokd24df432011-07-14 15:43:42 +0900333
334 // Was not included, signal this as an unrelated character.
335 return UNRELATED_CHAR;
336}
337
satok1d7eaf82011-07-13 10:32:02 +0900338bool ProximityInfo::sameAsTyped(const unsigned short *word, int length) const {
339 if (length != mInputLength) {
340 return false;
341 }
342 const int *inputCodes = mInputCodes;
343 while (length--) {
344 if ((unsigned int) *inputCodes != (unsigned int) *word) {
345 return false;
346 }
347 inputCodes += MAX_PROXIMITY_CHARS_SIZE;
348 word++;
349 }
350 return true;
351}
352
Yusuke Nojimae4ba8222011-10-05 14:55:07 +0900353const int ProximityInfo::NORMALIZED_SQUARED_DISTANCE_SCALING_FACTOR_LOG_2;
354const int ProximityInfo::NORMALIZED_SQUARED_DISTANCE_SCALING_FACTOR;
Yusuke Nojima0e1f6562011-09-21 12:02:47 +0900355const int ProximityInfo::MAX_KEY_COUNT_IN_A_KEYBOARD;
Yusuke Nojimaad358352011-09-29 16:44:54 +0900356const int ProximityInfo::MAX_CHAR_CODE;
Yusuke Nojima0e1f6562011-09-21 12:02:47 +0900357
Ken Wakasace9e52a2011-06-18 13:09:55 +0900358} // namespace latinime