build_tools.syllable_walk_web.services.combiner_runner

Name combiner service for the web application.

Generates N-syllable name candidates from an annotated corpus.

Functions

run_combiner(annotated_data, *[, syllable_count, ...])

Generate name candidates from annotated syllables.

Module Contents

build_tools.syllable_walk_web.services.combiner_runner.run_combiner(annotated_data, *, syllable_count=2, count=10000, seed=None, frequency_weight=1.0)[source]

Generate name candidates from annotated syllables.

Parameters:
  • annotated_data (Sequence[dict[str, Any]]) – Annotated syllable records (from corpus loader).

  • syllable_count (int) – Number of syllables per name.

  • count (int) – Number of candidates to generate.

  • seed (int | None) – RNG seed for determinism.

  • frequency_weight (float) – 0.0 = uniform, 1.0 = frequency-weighted.

Returns:

List of candidate dicts with name, syllables, features.

Return type:

list[dict[str, Any]]