- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 990 for langs (0.29 sec)
-
tests/upsert_test.go
} for idx, lang := range langs { lang.Name = lang.Name + "_new" langs[idx] = lang } if err := DB.Clauses(clause.OnConflict{ Columns: []clause.Column{{Name: "code"}}, DoUpdates: clause.AssignmentColumns([]string{"name"}), }).Create(&langs).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) } for _, lang := range langs { var results []Language
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K 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) -
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/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/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/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 13.7K 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/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) -
scripts/docs.py
""" update_languages() shutil.rmtree(site_path, ignore_errors=True) langs = [lang.name for lang in get_lang_paths() if lang.is_dir()] cpu_count = os.cpu_count() or 1 process_pool_size = cpu_count * 4 typer.echo(f"Using process pool size: {process_pool_size}") with Pool(process_pool_size) as p: p.map(build_lang, langs) @app.command() def update_languages() -> None: """
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 08 11:01:17 UTC 2024 - 13.5K bytes - Viewed (0) -
.github/actions/notify-translations/app/main.py
for lang in langs: if lang not in lang_to_discussion_map: log_message = f"Could not find discussion for language: {lang}" logging.error(log_message) raise RuntimeError(log_message) discussion = lang_to_discussion_map[lang] logging.info( f"Found a translation discussion for language: {lang} in discussion: #{discussion.number}" )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 12.4K bytes - Viewed (0)