mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 7a7d117a
: Ignore the broken file.
* commit '7a7d117aa7e7157ed429d68c4797218476151d8d': Ignore the broken file.
This commit is contained in:
commit
e7ad908407
@ -180,12 +180,14 @@ public final class UserHistoryDictIOUtils {
|
|||||||
try {
|
try {
|
||||||
BinaryDictIOUtils.readUnigramsAndBigramsBinary(buffer, unigrams, frequencies,
|
BinaryDictIOUtils.readUnigramsAndBigramsBinary(buffer, unigrams, frequencies,
|
||||||
bigrams);
|
bigrams);
|
||||||
addWordsFromWordMap(unigrams, frequencies, bigrams, dict);
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Log.e(TAG, "IO exception while reading file: " + e);
|
Log.e(TAG, "IO exception while reading file: " + e);
|
||||||
} catch (UnsupportedFormatException e) {
|
} catch (UnsupportedFormatException e) {
|
||||||
Log.e(TAG, "Unsupported format: " + e);
|
Log.e(TAG, "Unsupported format: " + e);
|
||||||
|
} catch (ArrayIndexOutOfBoundsException e) {
|
||||||
|
Log.e(TAG, "ArrayIndexOutOfBoundsException while reading file: " + e);
|
||||||
}
|
}
|
||||||
|
addWordsFromWordMap(unigrams, frequencies, bigrams, dict);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user