- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NormalizerChain (0.11 sec)
-
src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.normalizer; import java.util.ArrayList; import java.util.List; public class NormalizerChain implements Normalizer { List<Normalizer> normalizers = new ArrayList<>(); @Override public String normalize(final String text, final String field, final String... langs) { String tmp = text;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
final NormalizerChain normalizerChain = new NormalizerChain(); normalizerChain.add(new AnalyzerNormalizer(client, settings)); /* * normalizerChain.add(new HankakuKanaToZenkakuKana()); normalizerChain.add(new * FullWidthToHalfWidthAlphabetNormalizer()); normalizerChain.add(new ICUNormalizer("Any-Lower")); */ return normalizerChain;
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/AnalyzerNormalizer.java
final Normalizer normalizer; if (langs == null || langs.length == 0) { normalizer = new LangAnalyzerNormalizer(null); } else { final NormalizerChain chain = new NormalizerChain(); for (final String lang : langs) { chain.add(new LangAnalyzerNormalizer(lang)); } normalizer = chain; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.index.contents.querylog.QueryLog; import org.codelibs.fess.suggest.normalizer.Normalizer; import org.codelibs.fess.suggest.normalizer.NormalizerChain; import junit.framework.TestCase; public class DefaultContentsParserTest extends TestCase { DefaultContentsParser defaultContentsParser = new DefaultContentsParser();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.4K bytes - Viewed (0)