code wiki / _hdl_build / nx_mt_ruen.nx
nx_mt_ruen.nx
buildroot/runtime/_hdl_build/nx_mt_ruen.nx
about
nx_mt_ruen.nx -- sovereign BIDIRECTIONAL RU<->EN phrase-table translator (the Belarus<->Texas pair). Token-
level, Cyrillic-aware tokenizer (UTF-8 multibyte bytes >=0x80 are token chars), NO float, deterministic.
dir 0 = EN->RU (output Cyrillic), dir 1 = RU->EN. Unknown tokens pass through verbatim (Cardinal 25). Lexicon
is edit-here R1 (R2 -> seg_store per language-pair, Cardinal 11); OPEN-DOMAIN neural MT + ASR are the
RESEARCHER long-poles (V-NMT-1/V-ASR-1) -- this is the gated, real, bidirectional R1. license_tier: ORIGINAL
dependencies 1 imports · 3 importers
imports: nx_syscalls.nx
imported by: nx_live_xlate_call.nxnx_live_xlate_call_gate.nxnx_xlate_mt_gate.nx
structs
| none |
consts
| none |
functions
| 8 | func mr_lc(c: i64) -> i64 { if c >= 65 { if c <= 90 { return c + 32 } } return c } called by 1: mr_eq_ci |
| 10 | func mr_is_tok(c: i64) -> i64 called by 1: nx_ruen_translate |
| 18 | func mr_eq_ci(src: *u8, s: i64, e: i64, key: *u8) -> i64 |
| 29 | func mr_eq_exact(src: *u8, s: i64, e: i64, key: *u8) -> i64 called by 1: mr_en_for_ru |
| 40 | func mr_ru_for_en(src: *u8, s: i64, e: i64) -> *u8 |
| 60 | func mr_en_for_ru(src: *u8, s: i64, e: i64) -> *u8 |
| 77 | func mr_app(dst: *u8, pos: *i64, cap: i64, s: *u8) -> i64 called by 1: nx_ruen_translate |
| 82 | func mr_appb(dst: *u8, pos: *i64, cap: i64, b: i64) -> i64 { let p: i64 = *pos; if p < cap { dst[p]=b as u8; *pos=p+1 } return 0 } called by 1: nx_ruen_translate |
| 85 | func nx_ruen_translate(src: *u8, n: i64, dir: i64, dst: *u8, cap: i64) -> i64 called by 2: lx_caption_for_listenerg_score calls 6: sys_mmapmr_is_tokmr_appbmr_ru_for_enmr_en_for_rumr_app |