- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 85 for normalizer (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/suggest/normalizer/Normalizer.java
*/ package org.codelibs.fess.suggest.normalizer; /** * An interface for normalizing text. * Implementations of this interface should provide a method to normalize * a given text based on the specified field and optional language parameters. */ public interface Normalizer { /** * Normalizes the given text. * @param text The text to normalize * @param field The field nameCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKanaTest.java
HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); String result = normalizer.normalize("アイウエオ", "field"); assertEquals("アイウエオ", result); } @Test public void test_voicedSounds() throws Exception { HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); String result = normalizer.normalize("ガギグゲゴ", "field");
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
return this; } /** * Sets the normalizer. * @param normalizer The normalizer. * @return This builder instance. */ public SuggesterBuilder normalizer(final Normalizer normalizer) { this.normalizer = normalizer; return this; } /** * Sets the analyzer. * @param analyzer The analyzer.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java
chain.add(new LangAnalyzerNormalizer(lang)); } normalizer = chain; } return normalizer.normalize(text, field); } /** * Language-specific analyzer normalizer. */ protected class LangAnalyzerNormalizer implements Normalizer { /** * The language used for normalization. */ protected final String lang;
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java
String result = normalizer.normalize("ABCDEFGHIJKLMNOPQRSTUVWXYZ", "field"); assertEquals("ABCDEFGHIJKLMNOPQRSTUVWXYZ", result); } @Test public void test_mixedAlphabet() throws Exception { FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 4.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java
} private UrlNormalizer normalizer; UrlNormalizingPostProcessor(UrlNormalizer normalizer) { this.normalizer = normalizer; } @Override public Object execute(String expression, Object value) { if (value != null && URL_EXPRESSIONS.contains(expression)) { return normalizer.normalize(value.toString()); } return null; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java
* * <p>Example usage:</p> * <pre> * ICUNormalizer normalizer = new ICUNormalizer("Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC"); * String normalizedText = normalizer.normalize("text to normalize", "field"); * </pre> * * @see com.ibm.icu.text.Transliterator */ public class ICUNormalizer implements Normalizer { /** The transliterator used for normalization. */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.index.contents.querylog.QueryLog; import org.codelibs.fess.suggest.normalizer.Normalizer; import org.codelibs.fess.suggest.util.SuggestUtil; import org.opensearch.OpenSearchStatusException; import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken; /**
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 15.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java
* @param normalizer the normalizer to use for normalizing values * @return a list of suggest items parsed from the query log */ List<SuggestItem> parseQueryLog(QueryLog queryLog, String[] fields, String[] tagFieldNames, String roleFieldName, ReadingConverter readingConverter, Normalizer normalizer); /**Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
* <pre> * {@code * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); * String normalized = normalizer.normalize("ガギグゲゴ", "field"); * System.out.println(normalized); // Outputs: ガギグゲゴ * } * </pre> * * <p>Note: This class assumes that the input string contains valid Hankaku Kana characters * and does not perform any validation on the input.</p> * * @see Normalizer */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 6.8K bytes - Click Count (1)