* commit 'e7ad90840786566a2f36b4aa35893bf76449b2ce': Ignore the broken file.
This commit is contained in:
commit
acaf2bedc1
1 changed files with 3 additions and 1 deletions
|
@ -180,12 +180,14 @@ public final class UserHistoryDictIOUtils {
|
|||
try {
|
||||
BinaryDictIOUtils.readUnigramsAndBigramsBinary(buffer, unigrams, frequencies,
|
||||
bigrams);
|
||||
addWordsFromWordMap(unigrams, frequencies, bigrams, dict);
|
||||
} catch (IOException e) {
|
||||
Log.e(TAG, "IO exception while reading file: " + e);
|
||||
} catch (UnsupportedFormatException 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 a new issue