code wiki / (root) / nx_g2p_gate.nx

nx_g2p_gate.nx

buildroot/runtime/nx_g2p_gate.nx

4986 B116 linesdepth 5pulls 10 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_g2p_gate.nx -- REFEREE for the text->phoneme front-end (nx_g2p). MAPPING: words map to the expected phoneme-id sequence (incl. digraphs): "cat"->[K,AE,T] "see"->[S,IY] "moon"->[M,UW,N] "ship"->[SH,IH,P] "the"->[TH,EH] "rock"->[R,AA,K] INVENTORY: voiced flags correct (vowels/nasals voiced; fricatives/stops not). DETERMINISM: same text -> same sequence. END-TO-END: g2p("see") -> records -> nx_voice_read -> the S segment reads UNVOICED (hiss) and the IY segment reads VOICED (tone) ==> text became speech with correct voicing. Evidence -> stdout + knowledge/status/g2p_gate.log. Exit 0 GREEN / 1 RED. Sovereign x86_64 throughout. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls_x86_64.nx nx_g2p.nx nx_voice_read.nx nx_voiceprint.nx nx_g2p_gate.nx

imports: nx_syscalls_x86_64.nxnx_g2p.nxnx_voice_read.nxnx_voiceprint.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_openat_append gp chk nx_g2p _g2p_single slen gp ↻ gn nx_g2p_phoneme nx_g2p ↻ nx_voice_read _vr_a1 _vr_cosq16 nx_phoneme_synth _ph_lcg nx_voiceprint_extract nx_pitch_f0 _px_i16 nx_pitch_is_voiced nx_lpc_autocorr nx_lpc_levinson _q30_mul _vp_i64 gn ↻

structs

none

consts

none

functions

19func gp(logfd: i64, s: *u8) -> i64
called by 2: chkmain
26func gn(logfd: i64, v: i64) -> i64
called by 2: chkmain
40func slen(s: *u8) -> i64
called by 1: chk
46func chk(logfd: i64, text: *u8, e0: i64, e1: i64, e2: i64, ne: i64, ids: *i64) -> i64
called by 1: main calls 4: nx_g2pslengpgn
60func main() -> i64