From ad2d34f80a106ac0a4733e51a95f776a5f5923b3 Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Wed, 11 Dec 2013 14:07:52 +0900 Subject: Rename PersonalizationPredictionDictionary. Change-Id: If7497310485a895dd22b8df29dc13508acaa0ab6 --- .../PersonalizationPredictionDictionary.java | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 java/src/com/android/inputmethod/latin/personalization/PersonalizationPredictionDictionary.java (limited to 'java/src/com/android/inputmethod/latin/personalization/PersonalizationPredictionDictionary.java') diff --git a/java/src/com/android/inputmethod/latin/personalization/PersonalizationPredictionDictionary.java b/java/src/com/android/inputmethod/latin/personalization/PersonalizationPredictionDictionary.java deleted file mode 100644 index 6e0f25305..000000000 --- a/java/src/com/android/inputmethod/latin/personalization/PersonalizationPredictionDictionary.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2013 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. - */ - -package com.android.inputmethod.latin.personalization; - -import com.android.inputmethod.latin.Dictionary; -import com.android.inputmethod.latin.ExpandableBinaryDictionary; - -import java.util.Locale; - -import android.content.Context; - -// TODO: Rename to PersonalizationDictionary. -public class PersonalizationPredictionDictionary extends DecayingExpandableBinaryDictionaryBase { - private static final String NAME = PersonalizationPredictionDictionary.class.getSimpleName(); - - /* package */ PersonalizationPredictionDictionary(final Context context, final Locale locale) { - super(context, locale, Dictionary.TYPE_PERSONALIZATION_PREDICTION_IN_JAVA, - getDictionaryFileName(locale.toString())); - } - - private static String getDictionaryFileName(final String locale) { - return NAME + "." + locale + ExpandableBinaryDictionary.DICT_FILE_EXTENSION; - } -} -- cgit v1.2.3-83-g751a