Searched defs:diff (Results 1 - 3 of 3) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DNormalizeCharMap.java31 int diff; field in class:NormalizeCharMap
59 currMap.diff = singleMatch.length() - replacement.length();
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DDiff.java100 * Apply the given patch string <tt>diff</tt> to the given string <tt>
104 * @param diff Patch string
106 public static void apply(StringBuilder dest, CharSequence diff) { argument
109 if (diff == null) {
118 for (int i = 0; i < diff.length() / 2; i++) {
119 char cmd = diff.charAt(2 * i);
120 char param = diff.charAt(2 * i + 1);
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/jaspell/
H A DJaspellTernarySearchTrie.java538 * Keys returned will have exactly diff characters that do not match the
539 * target key, where diff is equal to the last value passed in as an argument
544 * then diff = 0.
556 * Keys returned will have exactly diff characters that do not match the
557 * target key, where diff is equal to the last value passed in as an argument
562 * then diff = 0.
779 *@param diff
783 public void setMatchAlmostDiff(int diff) { argument
784 if (diff < 0) {
786 } else if (diff >
[all...]

Completed in 30 milliseconds