Lines Matching refs:params
143 final String params[] = param.split("=", 2);
144 if (2 != params.length) throw new RuntimeException("Wrong format : " + line);
145 if (WORD_TAG.equals(params[0])) {
146 word = params[1];
147 } else if (FREQUENCY_TAG.equals(params[0])) {
148 freq = Integer.parseInt(params[1]);
149 } else if (NOT_A_WORD_TAG.equals(params[0])) {
150 isNotAWord = "true".equals(params[1]);
157 final String params[] = param.split("=", 2);
158 if (2 != params.length) throw new RuntimeException("Wrong format : " + line);
159 if (SHORTCUT_TAG.equals(params[0])) {
160 shortcut = params[1];
161 } else if (FREQUENCY_TAG.equals(params[0])) {
162 shortcutFreq = WHITELIST_TAG.equals(params[1])
164 : Integer.parseInt(params[1]);
176 final String params[] = param.split("=", 2);
177 if (2 != params.length) throw new RuntimeException("Wrong format : " + line);
178 if (BIGRAM_TAG.equals(params[0])) {
179 secondWordOfBigram = params[1];
180 } else if (FREQUENCY_TAG.equals(params[0])) {
181 bigramFreq = Integer.parseInt(params[1]);