diff options
| author | Nikolas Sturm <code@nsturm.me> | 2026-11-22 12:16:06 +0100 |
|---|---|---|
| committer | Nikolas Sturm <code@nsturm.me> | 2026-11-22 12:16:06 +0100 |
| commit | d344fcb275b7a9be0af59904527275947cf6251e (patch) | |
| tree | 16211164dbbf39549506186d2e23a8f38197250b /runtime/src/pe_loader.cpp | |
| parent | c2967a5e60060e4068fb992196d8f4b494a5046c (diff) | |
tools: name AWC streams from dictionary hits on their joaat ids
AWC stream tables keep only joaat(lowercase name) & 0x1FFFFFFF. With ~1.8M
distinct ids in a 2^29 space, ~0.3% of arbitrary words collide, so
awc_names.py accepts a hit only as an exact dialogue-wave word
(<root>au_<4 letters>_<NN>) or as a numbered family in one bank (3+
members or 2 adjacent, common-token base, one member a dictionary word).
A salted control run estimates the false names and sets each rule's
threshold per source.
The dictionary takes word lists or a hashdict.py JSON, and builds dialogue
wave names from conversation key/label pairs (<key>_01.._N per label).
Banks come from .awc files, directories or rpf9dump's audio_manifest.json.
On 1.0.2.1: 266,781 of 1.85M ids named (story000 73.7%, audio 5.7%),
with 417 control hits. Standard library only; tests are synthetic.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions