Skip to content
Snippets Groups Projects
Commit 8f18c261 authored by Jean Chalard's avatar Jean Chalard
Browse files

Use spaces instead of tabs in the combined format.

Change-Id: Ie8a4cdc44f87839e29bfbffc03d4853b7b5cc5f6
parent a8058d16
No related branches found
No related tags found
No related merge requests found
......@@ -227,18 +227,18 @@ public class CombinedInputOutput {
}
destination.write("\n");
for (Word word : set) {
destination.write("\t" + WORD_TAG + "=" + word.mWord + ","
destination.write(" " + WORD_TAG + "=" + word.mWord + ","
+ FREQUENCY_TAG + "=" + word.mFrequency
+ (word.mIsNotAWord ? "," + NOT_A_WORD_TAG + "=true\n" : "\n"));
if (null != word.mShortcutTargets) {
for (WeightedString target : word.mShortcutTargets) {
destination.write("\t\t" + SHORTCUT_TAG + "=" + target.mWord + ","
destination.write(" " + SHORTCUT_TAG + "=" + target.mWord + ","
+ FREQUENCY_TAG + "=" + target.mFrequency + "\n");
}
}
if (null != word.mBigrams) {
for (WeightedString bigram : word.mBigrams) {
destination.write("\t\t" + BIGRAM_TAG + "=" + bigram.mWord + ","
destination.write(" " + BIGRAM_TAG + "=" + bigram.mWord + ","
+ FREQUENCY_TAG + "=" + bigram.mFrequency + "\n");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment