code wiki / _hdl_build / nx_rel_measure.nx

nx_rel_measure.nx

buildroot/runtime/_hdl_build/nx_rel_measure.nx

2203 B46 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_rel_measure.nx -- MEASURE the grown-organ semantic extractor on the text in /tmp/page.txt (produced by runtime/nx_page_fetch_tmp). Lives in _hdl_build so its imports of the research organs resolve. Imports only the research-organ tree (no fetcher). Honest before/after: number-only extractor got ~4 digit-facts/page; this counts QUALITATIVE (subj->rel->obj) claims. expect_exit: 0.

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_research_extract.nx nx_research_relation.nx nx_research_relations.nx nx_rel_measure.nx

imports: nx_syscalls.nxnx_research_extract.nxnx_research_relation.nxnx_research_relations.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close w sys_write wn sys_mmap ↻ sys_write ↻ nx_rel_extract_doc sys_mmap ↻ rel_is_sent_end nx_rel_extract sys_mmap ↻ rel_find_cue rel_n_cues rel_cue re_find re_strlen re_strlen ↻ rel_is_stop rel_slice rel_app rel_name nx_rel_extract_doc_clean sys_mmap ↻ rel_is_sent_end ↻ nx_rel_extract ↻ nx_claim_clean cl_clean_subject cl_copy_from_alpha cl_is_alnum cl_is_alpha sys_mmap ↻ cl_first_token cl_is_stopword

structs

none

consts

11const K_MAGIC_2097152: i64 = 2097152
12const K_MAGIC_1600: i64 = 1600

functions

14func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
15func wn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
25func main() -> i64