export

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command export writes one graph in every format this module carries, and reads back the ones that can be read back.

Two questions separate the formats. What can one carry? json, ndjson, csv and tsv carry every field of an assertion — the span it was read from and the confidence it was given included; the RDF and graph formats carry the assertion alone, because a triple has nowhere to put the rest. What can one be read back from? Those four, and n-triples.

Everything streams. A source hands assertions to a format one at a time and the format writes each as it arrives, so the graph never has to fit in memory.

go run ./examples/export

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL