Show source dictionary name of suggestions in the debug mode
Bug: 11772864 Change-Id: I393352494b1ef81d24622a22fe7556d09945d6ff
This commit is contained in:
parent
077b3def52
commit
994530d9bd
1 changed files with 2 additions and 1 deletions
|
@ -432,7 +432,8 @@ public final class Suggest {
|
||||||
final String scoreInfoString;
|
final String scoreInfoString;
|
||||||
if (normalizedScore > 0) {
|
if (normalizedScore > 0) {
|
||||||
scoreInfoString = String.format(
|
scoreInfoString = String.format(
|
||||||
Locale.ROOT, "%d (%4.2f)", cur.mScore, normalizedScore);
|
Locale.ROOT, "%d (%4.2f), %s", cur.mScore, normalizedScore,
|
||||||
|
cur.mSourceDict.mDictType);
|
||||||
} else {
|
} else {
|
||||||
scoreInfoString = Integer.toString(cur.mScore);
|
scoreInfoString = Integer.toString(cur.mScore);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue