Expand description
Adapters between anno-core and lattix.
This crate exists to avoid introducing a dependency edge from anno-core → lattix while
still letting downstream tooling treat lattix as the graph/KG substrate.
§Functions
entities_to_knowledge_graph— the preferred export path: takes raw extraction output (Entity+Relationslices) and emits a fully-annotatedKnowledgeGraphincluding character-offset, confidence, and provenance triples. Used byanno export --format graph-ntriples.
Functions§
- entities_
to_ graph_ document - Convert entities and relations into a
lattix::exchange::GraphDocument. - entities_
to_ knowledge_ graph - Build a fully-annotated
KnowledgeGraphfrom raw NER + relation extraction output. - grounded_
to_ graph_ document - Convert a
GroundedDocumentinto alattix::exchange::GraphDocument. - uri_
safe - Make a string safe for use inside a URI path segment.