Skip to main contentModule infer
Source - from_csv
- Convert CSV text into a SIF Document (§25.3).
- from_json
- Convert JSON (array or object) into a SIF Document (§25.3).
- from_jsonl
- Convert JSONL (one JSON object per line) into a SIF Document.
- infer_schema
- Infer a SIF schema from a set of string-keyed rows.
- infer_schema_owned
- Infer schema from owned string pairs.
- infer_semantic
- Infer semantic annotation from a field name (§25.4).
- infer_type
- Infer the SIF type of a raw string value.
- merge_types
- Merge two types into the most general compatible type.
- sanitize_field_name
- Sanitize a field name into a valid SIF field name (§25.4).
- to_csv
- Convert a SIF section to CSV.
- to_json_array
- Convert a SIF section to a JSON array.
- to_jsonl
- Convert a SIF section to JSON Lines (one JSON object per record).