functionVerified releasev1
build_char_vocab
Build a character vocabulary {char: index} with SOS=0 and EOS=1 (stdlib only).
Interface
Verified contract
Inputs
| Name | Type |
|---|---|
| lines | list |
Outputs
| Name | Type |
|---|---|
| default | dict |
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
- keystroke_biasLogit-bias matrix from a keystroke log: hesitations, typos, slow and unexplored transitions. Steers any char model toward your weak spots (stdlib only).
- typing_weak_spotsTyping report from a keystroke log: accuracy, mistyped transitions, double presses and slowest bigrams (stdlib only).
- normalize_code_textTurn raw source code text into printable-ASCII practice lines (stdlib only).
- evaluate_topics_temporallySplit HN stories chronologically, fit vocabulary and topics only on earlier titles, then inspect later-title coverage and reconstruction. No supervised accuracy or future-popularity forecast is claimed.
- train_char_modelTrain the typing-check GRU+attention char model on your lines and save it to a folder (requires torch).