- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for normalizer (0.15 sec)
-
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
settings.badword().delete(normalizer.normalize(badWord, "")); } public SuggestIndexResponse addElevateWord(final ElevateWord elevateWord, final boolean apply) { final String normalizedWord = normalizer.normalize(elevateWord.getElevateWord(), ""); final List<String> normalizedReadings = elevateWord.getReadings().stream().map(reading -> normalizer.normalize(reading, "")).collect(Collectors.toList());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
protected final Normalizer normalizer; protected final SuggestAnalyzer analyzer; protected final String index; protected final ExecutorService threadPool; public Suggester(final Client client, final SuggestSettings settings, final ReadingConverter readingConverter, final ReadingConverter contentsReadingConverter, final Normalizer normalizer, final SuggestAnalyzer analyzer,
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
this.contentsReadingConverter = contentsReadingConverter; return this; } public SuggesterBuilder normalizer(final Normalizer normalizer) { this.normalizer = normalizer; return this; } public SuggesterBuilder analyzer(final SuggestAnalyzer analyzer) { this.analyzer = analyzer; return this; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java
} normalizer = chain; } return normalizer.normalize(text, field); } protected class LangAnalyzerNormalizer implements Normalizer { protected final String lang; protected LangAnalyzerNormalizer(final String lang) { this.lang = lang; } @Override
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 2.7K bytes - Viewed (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; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
} public void setReadingConverter(final ReadingConverter readingConverter) { this.readingConverter = readingConverter; } public void setNormalizer(final Normalizer normalizer) { this.normalizer = normalizer; } public void setPrefixMatchWeight(final float prefixMatchWeight) { this.prefixMatchWeight = prefixMatchWeight; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java
*/ class DefaultUrlNormalizerTest { private UrlNormalizer normalizer = new DefaultUrlNormalizer(); private String normalize(String url) { return normalizer.normalize(url); } @Test void testNullSafe() { assertNull(normalize(null)); } @Test void testTrailingSlash() { assertEquals("", normalize(""));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.normalizer.AnalyzerNormalizer; import org.codelibs.fess.suggest.normalizer.Normalizer; import org.codelibs.fess.suggest.normalizer.NormalizerChain; import org.codelibs.fess.suggest.settings.AnalyzerSettings; import org.codelibs.fess.suggest.settings.SuggestSettings;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.normalizer; public class HankakuKanaToZenkakuKana implements Normalizer { private static final char[] HANKAKU_KATAKANA = { '。', '「', '」', '、', '・', 'ヲ', 'ァ', 'ィ', 'ゥ', 'ェ', 'ォ', 'ャ', 'ュ', 'ョ', 'ッ', 'ー', 'ア',
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java
} protected ModelInterpolator newModelInterpolator() { UrlNormalizer normalizer = newUrlNormalizer(); PathTranslator pathTranslator = newPathTranslator(); RootLocator rootLocator = newRootLocator(); return new StringVisitorModelInterpolator(pathTranslator, normalizer, rootLocator); } protected ModelVersionProcessor newModelVersionPropertiesProcessor() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0)