Lines Matching refs:params
118 final String params[] = param.split("=", 2);
119 if (2 != params.length) throw new RuntimeException("Wrong format : " + line);
120 if (CombinedFormatUtils.WORD_TAG.equals(params[0])) {
121 word = params[1];
122 } else if (CombinedFormatUtils.PROBABILITY_TAG.equals(params[0])) {
123 probabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]),
126 } else if (CombinedFormatUtils.HISTORICAL_INFO_TAG.equals(params[0])) {
128 params[1].split(CombinedFormatUtils.HISTORICAL_INFO_SEPARATOR);
136 } else if (CombinedFormatUtils.NOT_A_WORD_TAG.equals(params[0])) {
137 isNotAWord = "true".equals(params[1]);
144 final String params[] = param.split("=", 2);
145 if (2 != params.length) throw new RuntimeException("Wrong format : " + line);
146 if (CombinedFormatUtils.SHORTCUT_TAG.equals(params[0])) {
147 shortcut = params[1];
148 } else if (CombinedFormatUtils.PROBABILITY_TAG.equals(params[0])) {
149 shortcutFreq = WHITELIST_TAG.equals(params[1])
151 : Integer.parseInt(params[1]);
163 final String params[] = param.split("=", 2);
164 if (2 != params.length) throw new RuntimeException("Wrong format : " + line);
165 if (CombinedFormatUtils.BIGRAM_TAG.equals(params[0])) {
166 secondWordOfBigram = params[1];
167 } else if (CombinedFormatUtils.PROBABILITY_TAG.equals(params[0])) {
168 bigramProbabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]),
171 } else if (CombinedFormatUtils.HISTORICAL_INFO_TAG.equals(params[0])) {
173 params[1].split(CombinedFormatUtils.HISTORICAL_INFO_SEPARATOR);