- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for langs2 (0.05 sec)
-
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) -
.github/workflows/build-docs.yml
- name: Export Language Codes id: show-langs run: | echo "langs=$(python ./scripts/docs.py langs-json)" >> $GITHUB_OUTPUT build-docs: needs: - changes - langs if: ${{ needs.changes.outputs.docs == 'true' }} runs-on: ubuntu-latest strategy: matrix: lang: ${{ fromJson(needs.langs.outputs.langs) }} steps: - name: Dump GitHub context
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 12:27:19 UTC 2024 - 4.1K bytes - Viewed (0) -
scripts/deploy_docs_status.py
en_links = lang_links.get("en", []) en_links.sort() links.extend(en_links) langs = list(lang_links.keys()) langs.sort() for lang in langs: if lang == "en": continue current_lang_links = lang_links[lang] current_lang_links.sort() links.extend(current_lang_links) message = f"📝 Docs preview for commit {settings.commit_sha} at: {deploy_url}" if links:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 09 15:52:41 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/Normalizer.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.normalizer; public interface Normalizer { String normalize(String text, String field, String... langs);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 766 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java
List<Normalizer> normalizers = new ArrayList<>(); @Override public String normalize(final String text, final String field, final String... langs) { String tmp = text; for (final Normalizer normalizer : normalizers) { tmp = normalizer.normalize(tmp, field, langs); } return tmp; } public void add(final Normalizer normalizer) { normalizers.add(normalizer); }
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/converter/AnalyzerConverter.java
final ReadingConverter converter; if (langs == null || langs.length == 0) { converter = new LangAnayzerConverter(null); } else { final ReadingConverterChain chain = new ReadingConverterChain(); for (final String lang : langs) { chain.addConverter(new LangAnayzerConverter(lang));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.8K bytes - Viewed (0) -
scripts/mkdocs_hooks.py
langs = [file.stem for file in material_langs_path.glob("*.html")] return langs class EnFile(File): pass def on_config(config: MkDocsConfig, **kwargs: Any) -> MkDocsConfig: available_langs = get_mkdocs_material_langs() dir_path = Path(config.docs_dir) lang = dir_path.parent.name if lang in available_langs: config.theme["language"] = lang
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 21:20:31 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
getQueryLanguages().ifPresent(langs -> stream(langs).of(stream -> stream.forEach(lang -> { defaultQuery.add( builder.apply(fessConfig.getIndexFieldTitle() + "_" + lang, fessConfig.getQueryBoostTitleLangAsDecimal().floatValue())); defaultQuery.add(builder.apply(fessConfig.getIndexFieldContent() + "_" + lang,
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java
SuggestItem parseSearchWords(String[] words, String[][] readings, String[] fields, String[] tags, String roles[], long score, ReadingConverter readingConverter, Normalizer normalizer, SuggestAnalyzer analyzer, String[] langs); List<SuggestItem> parseQueryLog(QueryLog queryLog, String[] fields, String[] tagFieldNames, String roleFieldName, ReadingConverter readingConverter, Normalizer normalizer);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java
public interface ReadingConverter { default int getMaxReadingNum() { return 10; } void init() throws IOException; List<String> convert(String text, final String field, String... langs) throws IOException;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 952 bytes - Viewed (0)