functionVerified releasev1

build_char_vocab

Build a character vocabulary {char: index} with SOS=0 and EOS=1 (stdlib only).

Updated
Runtime
current process; user-managed packages · Python 3.13

Interface

Verified contract

Callable Object

Inputs

NameType
lineslist

Outputs

NameType
defaultdict

Exact release

Pinned local call

from spl import SPLClient

result = SPLClient.embedded().call(
    "splime://@splime.project/typing-trainer/build_char_vocab@1",
    kwargs={'lines': []},
    trust=True,
)

Review before running. Public bundles contain executable code. Verify the publisher and exact content hash; a virtual environment isolates dependencies, not the operating system.

Evidence

Evidence-backed concepts

  • Build char vocab
  • Stdlib only
  • Build character vocabulary
  • Key value mapping
  • Ordered collection
  • Virtual environment
  • Lines list dict

History

Public versions

  • v10 downloads

Discover

Similar Objects

Explore all