Skip to main content

translate_via_matrix

Function translate_via_matrix 

Source
pub fn translate_via_matrix(
    nl_term: u64,
    matrix: &[(u64, u64)],
    human_attested: bool,
) -> Translation
Expand description

Translate a natural-language term to its machine-logic construct via a matrix of (nl_term_hash, machine_construct_hash) rows, gated by the Curation Directive: a mapping is only used if human_attested (the machine may propose, but only a human ratifies a definitive NL→logic equivalence). An unmapped or unattested term routes to human review.