code wiki / (root) / nx_term_extract_test.nx

nx_term_extract_test.nx

buildroot/runtime/nx_term_extract_test.nx

6431 B172 linesdepth 5pulls 11 transitivereach 0 importersview sourcekind gate/prooftopic term
docsdependenciesstructsconstsfunctions

about

nx_term_extract_test.nx -- end-to-end smoke for the learning ingestion. Proves the discovery pipeline learns "apron" / "kitchen" / etc. from ingested prose WITHOUT any pre-seeded outfit/location word list. The registry grows itself. Exit code: 0 all assertions pass N assertion N failed

dependencies 9 imports · 0 importers

syscalls.nx nx_media_pool.nx nx_storybeat.nx nx_storydb.nx nx_text_ingest.nx nx_phrase_match.nx nx_term_registry.nx nx_noun_phrase_scan.nx nx_term_extract.nx nx_term_extract_test.nx

imports: syscalls.nxnx_media_pool.nxnx_storybeat.nxnx_storydb.nxnx_text_ingest.nxnx_phrase_match.nxnx_term_registry.nxnx_noun_phrase_scan.nxnx_term_extract.nx

imported by: nobody (leaf or entry point)

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

main nx_noun_phrase_scan nx_np_load_u8 nx_pm_is_alnum nx_np_cue_at nx_phrase_strlen nx_pm_load_u8 nx_pm_to_lower nx_pm_load_u8 ↻ nx_np_capture_span nx_np_skip_ws nx_np_load_u8 ↻ nx_np_is_terminator nx_np_load_u8 ↻ nx_np_read_token nx_np_load_u8 ↻ nx_np_is_terminator ↻ nx_np_is_stop_at_start nx_pm_to_lower ↻ nx_np_load_u8 ↻ nx_pm_to_lower ↻ nx_storydb_alloc nx_storydb_alloc_sized sys_mmap nx_media_pool_alloc sys_mmap ↻ nx_media_pool_add nx_media_item_at nx_text_ingest nx_media_pool_get nx_media_item_at ↻ nx_media_pool_type nx_media_item_at ↻ sys_mmap ↻ nx_text_skip_blank_lines nx_text_load_u8 nx_text_is_horiz_ws nx_text_is_heading nx_text_load_u8 ↻ nx_storydb_close_scene

structs

none

consts

none

functions

23func eq_canon(reg: *TermRegistry, slot: i64, lit: *u8, llen: i64) -> i64
calls 1: nx_term_at
37func main() -> i64