diff --git a/src/com/jgaap/eventDrivers/CharacterNGramEventDriver.java b/src/com/jgaap/eventDrivers/CharacterNGramEventDriver.java index 12a559fed..30346f7b4 100644 --- a/src/com/jgaap/eventDrivers/CharacterNGramEventDriver.java +++ b/src/com/jgaap/eventDrivers/CharacterNGramEventDriver.java @@ -30,7 +30,7 @@ public class CharacterNGramEventDriver extends EventDriver { public CharacterNGramEventDriver() { - addParams("N", "N", "2", new String[] { "1", "2", "3", "4", "5", "6", + addParams("N", "N", "10", new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", @@ -60,7 +60,7 @@ public boolean showInGUI() { @Override public EventSet createEventSet(char[] text) { - int n = getParameter("N", 2); + int n = getParameter("N", 10); EventSet eventSet = new EventSet(text.length); for (int i = 0; i <= text.length - n; i++) { eventSet.addEvent(new Event(new String(text, i, n), this));