/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/cjk/ |
H A D | CJKWidthFilter.java | 66 final char ch = text[i]; 67 if (ch >= 0xFF01 && ch <= 0xFF5E) { 70 } else if (ch >= 0xFF65 && ch <= 0xFF9F) { 72 if ((ch == 0xFF9E || ch == 0xFF9F) && i > 0 && combine(text, i, ch)) { 75 text[i] = KANA_NORM[ch - 0xFF65]; 102 private static boolean combine(char text[], int pos, char ch) { argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/de/ |
H A D | GermanLightStemmer.java | 22 * http://members.unine.ch/jacques.savoy/clef/ 89 private boolean stEnding(char ch) { argument 90 switch(ch) {
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fi/ |
H A D | FinnishLightStemmer.java | 22 * http://members.unine.ch/jacques.savoy/clef/ 234 char ch = s[0]; 236 if (s[i] == ch && 237 (ch == 'k' || ch == 'p' || ch == 't')) 240 ch = s[i]; 248 private boolean isVowel(char ch) { argument 249 switch(ch) {
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/hu/ |
H A D | HungarianLightStemmer.java | 22 * http://members.unine.ch/jacques.savoy/clef/ 228 private boolean isVowel(char ch) { argument 229 switch(ch) {
|
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/ |
H A D | AbstractDictionary.java | 106 * @param ch input character in Unicode, or character in Basic Latin range. 109 public short getGB2312Id(char ch) { argument 111 byte[] buffer = Character.toString(ch).getBytes("GB2312");
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/id/ |
H A D | IndonesianStemmer.java | 77 private boolean isVowel(char ch) { argument 78 switch(ch) {
|
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/java/org/apache/lucene/analysis/ja/dict/ |
H A D | TokenInfoFST.java | 67 public FST.Arc<Long> findTargetArc(int ch, FST.Arc<Long> follow, FST.Arc<Long> arc, boolean useCache, FST.BytesReader fstReader) throws IOException { argument 68 if (useCache && ch >= 0x3040 && ch <= cacheCeiling) { 69 assert ch != FST.END_LABEL; 70 final Arc<Long> result = rootCache[ch - 0x3040]; 78 return fst.findTargetArc(ch, follow, arc, fstReader);
|
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/ |
H A D | Utility.java | 150 * @param ch input character 155 public static int getCharType(char ch) { argument 157 if (ch >= 0x4E00 && ch <= 0x9FA5) 159 if ((ch >= 0x0041 && ch <= 0x005A) || (ch >= 0x0061 && ch <= 0x007A)) 161 if (ch >= 0x0030 && ch < [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | WordDelimiterIterator.java | 267 * @param ch Character whose type is to be determined 270 private int charType(int ch) { argument 271 if (ch < charTypeTable.length) { 272 return charTypeTable[ch]; 274 return getType(ch); 280 * @param ch Character whose type is to be determined 283 public static byte getType(int ch) { argument 284 switch (Character.getType(ch)) {
|
H A D | LegacyHTMLStripCharFilter.java | 75 int ch; 76 while ( (ch=in.read()) != -1 ) System.out.print((char)ch); 102 int ch = pushed.charAt(len-1); 104 return ch; 111 int ch=next(); 112 while(isSpace(ch)) ch=next(); 113 return ch; 122 int ch 127 push(int ch) argument 132 isSpace(int ch) argument 142 isHex(int ch) argument 148 isAlpha(int ch) argument 152 isDigit(int ch) argument 166 isIdChar(int ch) argument 176 isFirstIdChar(int ch) argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/util/ |
H A D | CharArrayIterator.java | 66 protected abstract char jreBugWorkaround(char ch); argument 136 protected char jreBugWorkaround(char ch) { 137 return ch >= 0xD800 && ch <= 0xDFFF ? 0x002C : ch; 144 protected char jreBugWorkaround(char ch) { 145 return ch; 161 protected char jreBugWorkaround(char ch) { 162 return ch >= 0xD800 && ch < [all...] |
H A D | OpenStringBuilder.java | 72 public void setCharAt(int index, char ch) { argument 73 buf[index] = ch;
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/noggit/ |
H A D | JSONUtil.java | 72 char ch = val[i]; 73 switch(ch) { 77 out.write(ch); 86 if (ch <= 0x1F) { 87 unicodeEscape(ch,out); 89 out.write(ch); 97 char ch = chars.charAt(i); 98 switch(ch) { 102 out.write(ch); 111 if (ch < 121 unicodeEscape(int ch, CharArr out) argument [all...] |
H A D | JSONParser.java | 191 int ch = getChar(); 192 if (!(ch==' ' || ch=='\t' || ch=='\n' || ch=='\r')) return ch; 198 int ch = getChar(); 199 if (ch != arr[i]) { 253 int ch = getChar(); 255 switch(ch) { 502 next(int ch) argument [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | PorterStemmer.java | 87 public void add(char ch) { argument 91 b[i++] = ch; 203 int ch = b[i]; 204 if (ch == 'w' || ch == 'x' || ch == 'y') return false; 275 int ch = b[k--]; 276 if (ch == 'l' || ch == 's' || ch [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/compound/hyphenation/ |
H A D | PatternParser.java | 357 public void characters(char ch[], int start, int length) { argument 359 chars.append(ch, start, length);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fr/ |
H A D | FrenchStemmer.java | 249 char ch = sb.charAt( sb.length()-1 ); 250 if (ch == 'Y') 255 else if (ch == 'ç') 270 char ch = sb.charAt( sb.length()-1 ); 271 if (ch == 's') 317 char ch = R0.charAt(i); 318 if (isVowel(ch)) 322 if (ch == 'é' || ch == 'è') 524 * @param ch th 527 isVowel(char ch) argument [all...] |
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ |
H A D | EnwikiContentSource.java | 119 public void characters(char[] ch, int start, int length) { argument 120 contents.append(ch, start, length);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | QueryParsing.java | 148 char ch = p.peek(); 149 if (ch == LOCALPARAM_END) { 160 ch = p.peek(); 161 if (ch != '=') { 168 ch = p.peek(); 170 if (ch == '$') { 172 ch = p.peek(); 176 if (ch == '\"' || ch == '\'') { 210 char ch 621 char ch() { method in class:QueryParsing.StrParser 639 opt(char ch) argument [all...] |
/lucene-3.6.0/lucene/contrib/highlighter/src/test/org/apache/lucene/search/vectorhighlight/ |
H A D | AbstractTestCase.java | 192 private int ch; field in class:AbstractTestCase.BasicNGramTokenizer 223 ch = 0; 262 if( ch != -1 ) 263 ch = readCharFromBuffer(); 264 if( ch == -1 ) break; 265 else if( !isDelimiter( ch ) ) 266 snippetBuffer.append( (char)ch ); 310 ch = 0; 400 // ce 2 es 12 qu 17 ch 23 ha 33
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/en/ |
H A D | KStemmer.java | 270 char ch; 272 ch = word.charAt(index); 274 if ((ch == 'a') || (ch == 'e') || (ch == 'i') || (ch == 'o') || (ch == 'u')) return false; 275 if ((ch != 'y') || (index == 0)) return true; 421 private boolean isAlpha(char ch) { argument 422 return ch > [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/response/ |
H A D | JSONResponseWriter.java | 627 char ch = val.charAt(i); 628 if ((ch > '#' && ch != '\\' && ch < '\u2028') || ch == ' ') { // fast path 629 writer.write(ch); 632 switch(ch) { 636 writer.write(ch); 645 unicodeEscape(writer,ch); 649 if (ch < 771 unicodeEscape(Appendable out, int ch) argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/java/org/apache/lucene/analysis/ja/ |
H A D | JapaneseTokenizer.java | 717 final int ch = buffer.get(posAhead); 718 if (ch == -1) { 721 if (userFST.findTargetArc(ch, arc, arc, posAhead == posData.pos, userFSTReader) == null) { 745 final int ch = buffer.get(posAhead); 746 if (ch == -1) { 749 //System.out.println(" match " + (char) ch + " posAhead=" + posAhead); 751 if (fst.findTargetArc(ch, arc, arc, posAhead == posData.pos, fstReader) == null) { 797 final int ch = buffer.get(posAhead); 798 if (ch == -1) { 801 if (characterId == characterDefinition.getCharacterClass((char) ch)) { 1217 isPunctuation(char ch) argument [all...] |