code wiki / _hdl_build / nx_mt_phrasetable.nx

nx_mt_phrasetable.nx

buildroot/runtime/_hdl_build/nx_mt_phrasetable.nx

3662 B83 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic mt
docsdependenciesstructsconstsfunctions

about

nx_mt_phrasetable.nx -- sovereign data-driven phrase-table translator (token-level, EN->ES seed lexicon), the deterministic NO-FLOAT R1 that makes caption translation REAL end-to-end for the live-translation video feature. Unknown tokens PASS THROUGH verbatim (never drop content -- Cardinal 25). The lexicon is edit-here today (R2 -> a seg_store lexicon per language-pair, Cardinal 11); OPEN-DOMAIN neural MT is the RESEARCHER long-pole (CAP-VIDEO-XLATE-NMT), a research arc like dense-retrieval -- NOT faked here. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_mt_phrasetable.nx nx_caption_burn_gate.nx

imports: nx_syscalls.nx

imported by: nx_caption_burn_gate.nx

structs

none

consts

none

functions

9func mt_lc(c: i64) -> i64 { if c >= 65 { if c <= 90 { return c + 32 } } return c }
called by 1: mt_tok_eq
12func mt_tok_eq(src: *u8, s: i64, e: i64, key: *u8) -> i64
called by 1: mt_es_for calls 1: mt_lc
27func mt_es_for(src: *u8, s: i64, e: i64) -> *u8
called by 1: nx_mt_translate calls 1: mt_tok_eq
44func mt_app(dst: *u8, pos: *i64, cap: i64, s: *u8) -> i64
called by 1: nx_mt_translate
54func mt_appb(dst: *u8, pos: *i64, cap: i64, b: i64) -> i64
called by 1: nx_mt_translate
62func nx_mt_translate(src: *u8, n: i64, dst: *u8, cap: i64) -> i64
called by 1: main calls 4: sys_mmapmt_appbmt_es_formt_app