Skip to content
Snippets Groups Projects
Commit 4c9abc5d authored by Adam Blank's avatar Adam Blank
Browse files

Fixes fix to WordSuggestor.java

parent 3e521a26
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,12 @@ public class WordSuggestor {
words[i] = allWords.next();
i--;
}
for (i = 0; i < words.length; i++) {
if (words[i] == null) {
words[i] = "NULL";
}
}
return new NGram(words);
}
......
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