Index: trunk/lucene-search-3/src/main/java/org/wikimedia/lsearch/analyzers/ExtToken.java |
— | — | @@ -279,9 +279,15 @@ |
280 | 280 | |
281 | 281 | protected static UnicodeDecomposer decomposer = null; |
282 | 282 | |
283 | | - enum ParseType { TEXT, NUMBER, GAP}; |
| 283 | + public enum ParseType { TEXT, NUMBER, GAP}; |
284 | 284 | |
285 | | - /** c - current char, prev - previous char */ |
| 285 | + /** |
| 286 | + * |
| 287 | + * @param c current char |
| 288 | + * @param prev previous char |
| 289 | + * @param next |
| 290 | + * @return |
| 291 | + */ |
286 | 292 | private static boolean isText(char c, char prev, char next){ |
287 | 293 | return Character.isLetterOrDigit(c) |
288 | 294 | || (c=='\'' && Character.isLetter(prev) && Character.isLetter(next)) |