geometor.euclid.ingest.analysis

Module for analyzing extracted text to identify propositions.

Attributes

PROP_START_RE

PROP_END_RE

Functions

get_book_from_path(→ str)

Heuristically extracts the book name from a file path.

process_folder(→ List[Dict[str, Any]])

Scans a folder for proposition text files.

run_analysis(→ None)

Runs the analysis process on all extracted content.

Module Contents

geometor.euclid.ingest.analysis.PROP_START_RE
geometor.euclid.ingest.analysis.PROP_END_RE
geometor.euclid.ingest.analysis.get_book_from_path(path: pathlib.Path) str

Heuristically extracts the book name from a file path.

geometor.euclid.ingest.analysis.process_folder(folder_path: pathlib.Path, volume: str) List[Dict[str, Any]]

Scans a folder for proposition text files.

geometor.euclid.ingest.analysis.run_analysis() None

Runs the analysis process on all extracted content.