parent
be4d38e61f
commit
1aae34873c
|
@ -53,7 +53,7 @@ public final class UserHistoryDictionaryBigramList {
|
||||||
* Called when loaded from the SQL DB.
|
* Called when loaded from the SQL DB.
|
||||||
*/
|
*/
|
||||||
public void addBigram(String word1, String word2, byte fcValue) {
|
public void addBigram(String word1, String word2, byte fcValue) {
|
||||||
if (UserHistoryPredictionDictionary.DBG_SAVE_RESTORE) {
|
if (DynamicPredictionDictionaryBase.DBG_SAVE_RESTORE) {
|
||||||
Log.d(TAG, "--- add bigram: " + word1 + ", " + word2 + ", " + fcValue);
|
Log.d(TAG, "--- add bigram: " + word1 + ", " + word2 + ", " + fcValue);
|
||||||
}
|
}
|
||||||
final HashMap<String, Byte> map;
|
final HashMap<String, Byte> map;
|
||||||
|
@ -73,7 +73,7 @@ public final class UserHistoryDictionaryBigramList {
|
||||||
* Called when inserted to the SQL DB.
|
* Called when inserted to the SQL DB.
|
||||||
*/
|
*/
|
||||||
public void updateBigram(String word1, String word2, byte fcValue) {
|
public void updateBigram(String word1, String word2, byte fcValue) {
|
||||||
if (UserHistoryPredictionDictionary.DBG_SAVE_RESTORE) {
|
if (DynamicPredictionDictionaryBase.DBG_SAVE_RESTORE) {
|
||||||
Log.d(TAG, "--- update bigram: " + word1 + ", " + word2 + ", " + fcValue);
|
Log.d(TAG, "--- update bigram: " + word1 + ", " + word2 + ", " + fcValue);
|
||||||
}
|
}
|
||||||
final HashMap<String, Byte> map;
|
final HashMap<String, Byte> map;
|
||||||
|
|
Loading…
Reference in New Issue