File size: 1,149 Bytes
93587b8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"""
Stable programmatic API surface matching Gradio `api_name` values.

This module provides names that exactly match the Gradio endpoint `api_name`
strings from `app.py`.

By default these names point to the **CLI-first** Python API (`doc_redaction.cli_api`),
which is the most stable and runnable interface outside Gradio session state.
"""

from __future__ import annotations

from doc_redaction.cli_api import (
    apply_review_redactions,
    combine_review_csvs,
    combine_review_pdfs,
    export_review_page_ocr_visualisation,
    export_review_redaction_overlay,
    find_duplicate_pages,
    find_duplicate_tabular,
    load_and_prepare_documents_or_data,
    redact_data,
    redact_document,
    summarise_document,
    word_level_ocr_text_search,
)

__all__ = [
    "redact_document",
    "load_and_prepare_documents_or_data",
    "apply_review_redactions",
    "export_review_page_ocr_visualisation",
    "export_review_redaction_overlay",
    "word_level_ocr_text_search",
    "redact_data",
    "find_duplicate_pages",
    "find_duplicate_tabular",
    "summarise_document",
    "combine_review_csvs",
    "combine_review_pdfs",
]