# IDEONOMY PROJECT ## Index Mining and Semantic Neighbourhoods: Development Roadmap **Working draft:** 21 October 2026 **Public edition:** 3 December 2026 (personal computing-environment details generalised; research proposal unchanged). **Status:** Proposed architecture and experimental programme; not yet an implemented system. **Purpose:** To extract the intellectual structures encoded in book indexes, preserve them faithfully in XML, and use their relationships to construct expanding semantic neighbourhoods that AI systems can query, investigate and employ. --- ## 1. The central idea A professionally prepared back-of-book index is more than an alphabetical list of words. It is a human-curated selection of topics, concepts, names and relationships, organised through headings, subheadings, locators and cross-references. Much of its structure can be recovered computationally. The proposed system will: 1. Acquire indexes from multiple sources. 2. Recover both their text and structural clues. 3. Parse entries, subentries, locators and cross-references. 4. Preserve the source evidence as XML, without discarding entries because they appear unimportant. 5. Derive candidate relationships from the index structure. 6. Connect independently extracted indexes into a larger, provenance-aware network. 7. Allow local and hosted language models to query and reason with this network. 8. Test whether this external resource improves the models' ability to navigate concepts, recognise connections and solve tasks. The system is intended to be *domain-neutral*. Its extraction stage must not require the developer to be an expert in the indexed subject. ### 1.1 Foundational principles **Neutral inclusion.** Every index entry is relevant because its inclusion represents an informed editorial/indexing choice. Relevance does not imply equal centrality, equal reliability or equal strength of connection. Do not remove entries on the basis of frequency, apparent obscurity or presumed importance. **Faithful evidence first.** Preserve what the source says and how it is arranged before normalising or interpreting it. Keep original spelling, punctuation, locator notation, entry order and hierarchy wherever recoverable. **Separate observation from inference.** Distinguish (a) what the index explicitly states, (b) what algorithms derive from its structure, and (c) what an AI proposes as a possible semantic interpretation. **No silent loss.** A failed or ambiguous parse produces a recorded exception, not a missing entry or an invented correction. **Provenance throughout.** Every entry and relationship should be traceable to a particular book, edition, index entry and, when available, source image or page. **Rebuildability.** Derived graphs must be reproducible from the preserved source records and a specified version of the processing scripts. **Automation with inspection.** Scripts perform repeatable work; AI assists with ambiguous language and potentially interesting connections; humans review exceptions and consequential changes. **Model independence.** The network is an external intellectual resource. It should not depend on any single language model or require retraining model weights. **Respect for intellectual property.** Source materials will be lawfully acquired and processed in accordance with applicable copyright legislation. The preservation of source evidence for private research does not imply permission to redistribute it. Publication of derived data and research findings will respect the rights associated with the original materials. --- ## 2. Overall architecture ```text SOURCES EPUB index / searchable PDF / scanned index | v ACQUISITION & SOURCE ARCHIVE original file + bibliographic details + checksums | v LAYOUT-AWARE EXTRACTION XHTML / HTML / positioned PDF text / OCR + coordinates | v INTERMEDIATE RECORD original text + reading order + geometry + style clues | v INDEX PARSER headings / subheadings / locators / ranges / see / see also | v VALIDATION & EXCEPTION REPORT coverage, unresolved entries, ambiguous relationships | v AUTHORITATIVE INDEX XML one independently preserved record per index | v RELATIONSHIP EXTRACTION explicit links + shared-locator evidence + hierarchy | v CROSS-INDEX RECONCILIATION candidate same concepts / different senses / source identities | v SEMANTIC NEIGHBOURHOOD evidence-backed graph with labelled relationship types | v QUERY / EXPLORATION INTERFACE neighbourhood lookup / paths / hubs / provenance / explanations | v AI CLIENTS Local and hosted language models | v EVALUATION & FEEDBACK tests, errors, proposed connections, refinements ``` The diagram shows logical stages, not necessarily separate applications. Early versions may be a handful of Python scripts and XML files. --- ## 3. Stage A — Acquire indexes ### 3.1 EPUB An EPUB is normally a ZIP package containing XHTML, metadata and other resources. The index may be a distinct XHTML document or a section within a larger file. **Procedure:** 1. Retain an untouched copy of the EPUB. 2. Open the package and inspect its manifest and spine to find index candidates. 3. Detect candidate files by navigation labels, headings, landmarks and filenames; do not rely on filenames alone. 4. Extract the XHTML and its links, list nesting, paragraph boundaries and CSS references. 5. Preserve link targets, which may point to specific passages rather than printed page numbers. 6. Record when no index exists or when the index is present but structurally ambiguous. **Important:** An EPUB may omit the printed index, or use hyperlinks instead of page numbers. Hyperlink targets should be treated as source-specific locators, not forced into page numbers. ### 3.2 Searchable PDF 1. Preserve the original PDF. 2. Identify the index pages (initially manually; later potentially automatically). 3. Extract words and lines together with page numbers and bounding boxes when available. 4. Preserve column order, x/y positions, font size and emphasis when extractable. 5. Record both the printed page label and the PDF page number, because they may differ. 6. Flag text whose extraction order appears inconsistent with the visual page. Possible implementation: PyMuPDF or pdfplumber; select empirically after testing on sample indexes. ### 3.3 Scanned pages and FineReader ABBYY FineReader is the OCR tool currently under investigation. There is no reason to purchase a replacement before testing its existing exports. 1. Scan the index pages at a legible resolution, preferably around 300–400 dpi for ordinary print; use higher resolution where the source demands it. 2. Retain the original image or scan PDF. 3. In FineReader, check column recognition and reading order, and correct obvious OCR errors where practical. 4. Export as HTML with layout preservation; include the accompanying CSS and image assets. 5. If useful, compare with DOCX or searchable-PDF export. 6. Parse the HTML and CSS to recover paragraphs, style changes, tables, indentation and other clues. 7. Record limitations: HTML can preserve formatting without retaining true physical coordinates, and some OCR reading-order errors may survive. **Specific finding from the supplied `Ideonomy_Orange.htm`:** It identifies FineReader as its generator and preserves paragraphs, spans, bold/italic/underlining and HTML tables. It references a separate `Ideonomy_Orange_files/Ideonomy_Orange.css` stylesheet and image assets. The stylesheet and assets should accompany the HTML for a complete structural assessment. The document also contains split lines and recognisable OCR mistakes, which make it a useful stress test. **Decision gate:** Keep FineReader unless experiments reveal a specific, consequential deficiency that cannot be corrected reasonably. If needed, compare it against current open-source OCR/layout tools before considering paid replacements. ### 3.4 Source catalogue For each source, record at least: - Stable source ID. - Title, author/editor, edition, publisher, publication year and ISBN where known. - Source format and acquisition method. - Which pages or EPUB sections constitute the index. - OCR software and version, if used. - File checksum, extraction date and source-file location. - Copyright/access notes and any known quality limitations. An index belongs to a *particular edition*, not simply to an abstract book title: page references may differ between editions. --- ## 4. Stage B — Build a layout-aware intermediate representation Do not attempt to jump directly from OCR text into a knowledge graph. Create an intermediate record that retains the information needed to reconstruct the original layout: - Page or document fragment ID. - Line and reading-order sequence. - Text as recovered, before correction. - Paragraph and block membership. - Column identification, if known. - Bounding boxes or indentation measures, if available. - Style clues: bold, italic, capitals, font sizes, etc. - Link targets and image references, if applicable. - OCR or extraction confidence where genuinely supplied by the software. - Flags for suspicious characters, broken words, or ambiguous order. Use XML for this representation too if convenient, but do not force a premature TEI mapping before checking its suitability. **Why this stage matters:** If the parser later mistakes a continuation line for a new heading, we can revisit the preserved intermediate evidence without rerunning OCR. --- ## 5. Stage C — Parse the index ### 5.1 Features to recognise A useful parser must identify: - Main headings. - Subheadings and multiple levels of nesting. - Run-in subentries and indented subentries. - Single page locators and page ranges. - Roman-numeral locators, appendices, notes and other special locators. - EPUB hyperlink locators. - Cross-references, including `see` and `see also`. - Entries that span multiple lines, columns or pages. - Repeated headings marked `continued`. - Alphabetic guide letters and other non-entry furniture. - Ambiguous punctuation, unusual ordering and publisher-specific conventions. ### 5.2 Parsing strategy Use a layered strategy rather than a single regular expression: **Pass 1: Segment the index.** Identify columns, lines, paragraphs and candidate entry boundaries. **Pass 2: Recover hierarchy.** Infer heading/subheading nesting from indentation, styles and run-in conventions. Keep alternative readings when the evidence is ambiguous. **Pass 3: Identify components.** Extract heading text, subheading text, locators, cross-references and qualifiers. **Pass 4: Validate locally.** Check locator syntax, hierarchy continuity and plausible entry boundaries. Do not treat alphabetical ordering as an absolute requirement: indexes can have unconventional arrangement. **Pass 5: Record unresolved material.** Flag lines that cannot confidently be attached to an entry or parsed into components. **Pass 6: Produce an inspection report.** Show the source text alongside the proposed parse and highlight doubtful cases. ### 5.3 Preserve original locators A range such as `24–27` may be expanded for graph analysis into pages 24, 25, 26 and 27, but the XML must also retain the literal `24–27`. Likewise, `vii`, `25n3` and EPUB anchors must not be silently discarded because they are inconvenient for a particular algorithm. A shared page is **evidence of proximity in a source**, not proof that two concepts are synonyms or even directly related. Page ranges can create many incidental overlaps; weighting schemes should be investigated rather than assumed. ### 5.4 LLM assistance An LLM may be asked to: - Suggest whether a broken line continues the preceding entry. - Identify likely cross-reference wording. - Propose corrections to OCR mistakes. - Explain unusual indexing conventions. - Highlight suspect parsing decisions. Its suggestions must be recorded as suggestions, with supporting source text. Do not let the LLM silently rewrite the authoritative record. --- ## 6. Stage D — Preserve each extracted index as XML ### 6.1 TEI as a starting point Isaac Alpizar Chacon's *Extraction of Knowledge Models from Textbooks* (2023), especially Chapter 3, Section 3.3.5 and Table 3.1, describes a TEI-based XML representation of textbook structure, content and domain knowledge. His work is a strong reference point for our schema design, but his priorities differ from ours. In particular, we should not adopt any information-discarding normalisation without scrutiny. **Design decision to investigate:** Use TEI P5 directly, use a TEI-compatible subset with extensions, or create a small project-specific XML vocabulary with an explicit mapping to TEI. Do not claim that an illustrative schema below is already TEI-compliant. ### 6.2 Minimum XML requirements Each archive file should contain: 1. Source metadata and stable index ID. 2. Source format and extraction provenance. 3. Every recognised entry, in source order. 4. Entry hierarchy and cross-references. 5. Literal and interpreted locators. 6. Stable entry IDs. 7. Pointers back to source pages/lines or EPUB anchors. 8. Exceptions and ambiguities. 9. Parser version and processing date. ### 6.3 Illustrative XML — project-specific, not yet a formal schema ```xml Example Book Example edition book001-index01 Analogy Classification hierarchical methods Unclear OCR line retained here Could not determine parent entry ``` The example illustrates principles only. The eventual schema needs explicit rules for source pointers, unique IDs, namespaces, whitespace and mixed content, and should be validated using XSD, Relax NG or another suitable schema language. ### 6.4 Immutable evidence, revisable interpretations Do not overwrite a raw OCR observation with an AI correction. Preserve both, and indicate which interpretation was accepted for downstream processing. If an XML index must be corrected, version it or keep an auditable change record. We should be able to explain how a particular graph connection arose. --- ## 7. Stage E — Extract relationships within an index ### 7.1 Relationship types Keep these distinct: **Explicit cross-reference:** `see` or `see also` between entries. These express editorially supplied navigational relationships, not necessarily synonymy. **Hierarchy:** A subentry is nested under a heading. This is an index-structural relationship; it may or may not correspond to a strict conceptual `is-a` relation. **Shared locator:** Two entries point to the same page, page span, passage or EPUB anchor. This is evidence of co-location, not semantic equivalence. **Sequence or contextual relationship:** Entries occur in related parts of a document, where that structure is available. This should remain separate from explicit index evidence. **Inferred semantic relationship:** An LLM or other model proposes synonymy, analogy, opposition, broader/narrower meaning or another relation. This must retain its inferential status and evidence. ### 7.2 Preserve the bipartite structure The safest initial graph is a **bipartite graph**: ```text index entry ──points to──> source-specific locator ``` For example: ```text Analogy ───────> Book A, page 24 Classification -> Book A, page 24 Classification -> Book A, page 57 Symmetry ──────> Book A, page 57 ``` From this structure, we may derive a candidate `Analogy—Classification` connection through page 24 and a `Classification—Symmetry` connection through page 57. But the source-specific locator nodes remain intact, so we do not lose the evidence behind each derived edge. This also avoids an early mistake: treating page 24 in Book A as the same place as page 24 in Book B. ### 7.3 Derived graph and metrics Build a secondary graph for exploration, with edges carrying: - Relationship type. - Source index and entry IDs. - Supporting locator IDs. - Derivation algorithm and version. - Weight or score, if calculated. - Whether the relationship is explicit, derived or inferred. Possible analyses include connected components, clusters, degree, betweenness centrality, bridges, and unusual intersections. These measures describe *network position*, not whether a node deserves inclusion. Avoid a naive assumption that every shared-page pair is equally informative. A densely indexed page, a long page range and a highly specific single-page match may warrant different treatment. Experiment with weighting, but preserve the unweighted evidence. --- ## 8. Stage F — Merge indexes into expanding semantic neighbourhoods This is the principal research challenge after reliable extraction. ### 8.1 Never collapse entries merely because the words match Two entries labelled `field` might refer to agriculture, physics or mathematics. Conversely, `artificial intelligence` and `AI` may be different labels for a common concept. **Therefore:** Retain a separate *source-entry identity* for every extracted entry. Introduce a distinct *concept identity* only when evidence supports an alignment. ### 8.2 Cross-index reconciliation pipeline 1. Import the next XML index without deleting any entries. 2. Generate candidate alignments using exact wording, normalised wording, cross-references, lexical resources, embeddings and contextual evidence. 3. Distinguish candidate equivalence from relatedness and ambiguity. 4. Use an LLM to examine difficult cases and propose explanations. 5. Record the supporting evidence and the confidence or review status. 6. Accept, reject or defer candidate alignments; preserve deferred cases for later reconsideration. 7. Update the derived semantic network, retaining links back to all original entries. No single matching technique should have the power to silently merge concepts permanently. ### 8.3 Why retaining every entry matters An apparently peripheral term in Index A may become the bridge to Index B, C or D. Its significance can emerge only after later material is incorporated. Therefore the archive remains inclusive while the network is allowed to evolve. ### 8.4 One graph or many? Do not make an irreversible choice now. A practical implementation can maintain one evidence store while generating multiple *views* or neighbourhoods centred on a concept, a book, a discipline or a question. Neighbourhoods may overlap and connect without losing their source identities. --- ## 9. Stage G — Make the network useful to AIs ### 9.1 Begin with simple queries Provide a small local query service or command-line interface that answers requests such as: - `neighbours("analogy", depth=2)` - `paths("analogy", "classification", max_hops=4)` - `sources("symmetry")` - `why_connected(entry_a, entry_b)` - `unresolved_alignments()` - `bridges_between("biology", "mathematics")` These are illustrative API names, not an agreed interface. ### 9.2 Return evidence, not just a list of words A useful query response should include: - Candidate concepts and their labels. - Relationship type and direction, if applicable. - Supporting index entries and locators. - Source bibliographic details. - Whether a connection is explicit, mechanically derived or AI-inferred. - Any unresolved ambiguity or quality warning. The AI should be able to say *why* two concepts appear connected. ### 9.3 Connect local language models Initially, a local Python function or small service may be sufficient. Local language models could request neighbourhoods and receive compact, source-attributed results. This is external retrieval, not LoRA training and not a replacement for their existing memory systems. For ChatGPT, a compatible accessible interface or user-provided export would be needed; direct access to files or services on a local workstation should not be assumed. ### 9.4 Use the LLM's existing language abilities We should exploit the model's ability to understand language rather than attempt to hard-code every semantic rule. Appropriate uses include: - Explaining a path through the network. - Proposing connections that warrant further examination. - Identifying potentially different senses of a term. - Suggesting searches or additional indexes that could test a hypothesis. - Flagging unusual, problematic or interesting patterns. These outputs become reviewable hypotheses, not unquestioned facts. --- ## 10. Stage H — Evaluate whether the system works An attractive graph is not sufficient evidence of usefulness. We should evaluate both *extraction quality* and *AI benefit*. ### 10.1 Extraction evaluation Choose a small number of representative index pages and create a carefully checked reference transcription/parse. Measure: - Entry recall: how many source entries were retained? - Entry precision: how many parsed entries were genuine? - Hierarchy accuracy: were subentries attached to the right parents? - Locator accuracy: were locators read and attached correctly? - Cross-reference accuracy. - Exception coverage: did the system flag failures rather than silently lose data? - Provenance completeness: can each output be traced to its source? **A particularly important metric:** the proportion of source entries either successfully parsed *or explicitly preserved as unresolved*. The goal is zero silent loss. ### 10.2 Graph evaluation Test whether derived connections are correctly supported by the index evidence. Sample candidate alignments between books and classify them as correct, wrong or uncertain. Evaluate whether weighting improves useful connections without removing nodes. ### 10.3 AI evaluation Compare the same model on the same questions under controlled conditions: 1. Model alone. 2. Model with ordinary keyword retrieval, where appropriate. 3. Model with semantic-neighbourhood retrieval. Use tasks requiring conceptual navigation, explanation of relationships, interdisciplinary connection, and locating relevant sources. Evaluate factual correctness, usefulness, evidence quality, hallucinations, response time and retrieval overhead. Include questions where the network may be irrelevant, to detect distraction or degradation. Avoid judging success solely by whether an AI produces more elaborate answers. ### 10.4 Iterative improvement Store errors and interesting cases. Re-run the evaluation suite after changing OCR settings, parser rules, XML schemas, graph algorithms or retrieval methods. --- ## 11. Proposed local implementation **Language:** Python, because it has strong support for ZIP/EPUB processing, HTML/XML, PDF text extraction, graph analysis and local AI integration. **Possible libraries, subject to testing:** - `zipfile` and `lxml` or Beautiful Soup for EPUB/XHTML/HTML. - `lxml` for XML creation, validation and XPath queries. - PyMuPDF or `pdfplumber` for positioned PDF text. - `networkx` for the first graphs and network analyses. - `pytest` for automated tests. - `sqlite3` for optional indexes/catalogues if the XML collection becomes cumbersome to query. **Storage recommendation:** XML is the authoritative, inspectable source record. A graph or database may later be generated as a *derived index* for speed. This does not compromise the XML-first approach. **Suggested project directory:** ```text Index Miner/ README.md docs/ principles.md roadmap.md xml-schema-notes.md test-plan.md sources/ epub/ pdf/ scans/ ocr-html/ intermediate/ xml/ indexes/ neighbourhoods/ derived/ graphs/ reports/ scripts/ inspect_source.py extract_layout.py parse_index.py validate_index.py build_graph.py query_graph.py tests/ fixtures/ expected/ logs/ ``` Names are provisional. This can live under the existing Ideonomy Project structure rather than becoming a separate unrelated project. --- ## 12. The first experiment: the NISO indexing standard **Aim:** Demonstrate a faithful end-to-end parse of a small conventional index and produce a small, evidence-backed graph. 1. Obtain the already available searchable PDF of ANSI/NISO Z39.4-2021, *Criteria for Indexes*. 2. Locate and inspect its index pages. **First verify that the PDF actually contains a usable index; do not assume this from the document title.** If not, use another short, well-formed index for the primary test and retain NISO as a reference for conventions. 3. Select two or three pages with headings, subheadings, locators and cross-references. 4. Extract positioned text and inspect the reading order. 5. Create a manually verified reference parse for those pages. 6. Write the first parser, initially supporting only the structures observed in the sample. 7. Produce an XML index archive and an exception report. 8. Validate against the reference parse and repair the parser. 9. Generate a bipartite entry-to-locator graph. 10. Derive candidate shared-locator links and inspect their evidence. 11. Produce a basic `neighbours()` or equivalent query. 12. Record successes, failures and features needed for the next test. **First milestone:** We can point to every entry on the test pages and find either its faithful XML representation or an explicit unresolved exception; a query can show at least one supported connection and its source. --- ## 13. The second experiment: Gunkel's Orange volume **Aim:** Stress-test the acquisition and structural extraction pipeline using existing FineReader output. The supplied `Ideonomy_Orange.htm` is not a conventional back-of-book index. It should therefore **not** be treated as a replacement for the index-mining test. Instead, it is an excellent test of the more general ability to recover structured information from OCR HTML. 1. Obtain the accompanying `Ideonomy_Orange_files/Ideonomy_Orange.css` and any relevant images. 2. Inspect HTML paragraph structure, styles, tables, breaks and possible indentation clues. 3. Compare a few exported sections with their scanned originals. 4. Identify the limits of the HTML export: missing coordinates, split lines, reading-order problems and OCR mistakes. 5. Build a small HTML-to-intermediate-XML extractor. 6. Test it against the Orange volume's table of contents and a structurally difficult passage. 7. Record which transformations are generic and which would be special handling for Gunkel's document. **Second milestone:** We know whether FineReader HTML is sufficient for the layout-aware extraction stage, and exactly what information is lost or needs manual checking. --- ## 14. The third experiment: two independent indexes **Aim:** Demonstrate the essential research claim that separate indexes can be connected without losing source identity. 1. Select two short indexes with overlapping subject matter. 2. Parse both into independent XML archives. 3. Generate exact-word and near-word candidate alignments. 4. Inspect cases of apparent synonymy and different senses. 5. Build a combined graph with source-specific entry and locator nodes. 6. Identify at least one cross-index bridge and explain its evidence. 7. Ask an AI to use the graph to answer a question that crosses the two sources. 8. Compare its answer with one produced without graph retrieval. **Third milestone:** The system can show a traceable path between concepts originating in different books, without pretending that shared spelling proves shared meaning. --- ## 15. Work packages and recommended order ### Package 0 — Establish the project record Write down the principles, naming conventions, directory structure, source metadata fields and a small set of test cases. Decide how scripts and XML revisions will be versioned. ### Package 1 — Inspect real inputs Examine NISO's index (if present), the Orange HTML and its CSS, and one representative EPUB index. Identify the actual layout features rather than designing exclusively from theory. ### Package 2 — Build the intermediate extractor Create separate importers for EPUB, PDF and FineReader HTML that produce a common layout-aware intermediate record. Initially, implement only the source formats needed for the first tests. ### Package 3 — Build the index parser Recognise headings, hierarchy, locators and cross-references. Produce complete exception reporting. Establish reference tests. ### Package 4 — Define and validate index XML Study the thesis's TEI mapping and relevant TEI guidelines. Settle on a small, documented schema, with source links and version information. ### Package 5 — Build the first graph Use a bipartite entry/locator model, add explicit cross-references and hierarchy, then generate candidate concept-to-concept edges without discarding the underlying evidence. ### Package 6 — Reconcile multiple indexes Introduce stable concept identities, candidate alignments, polysemy handling and review status. Keep original source entries intact. ### Package 7 — Add AI querying Provide compact, evidence-backed neighbourhood queries and integrate with one local model first, selected for ease of integration. ### Package 8 — Evaluate and expand Compare model behaviour with and without the resource; add new indexes, improve extraction and investigate whether unexpected bridges prove useful. **Avoid premature complexity:** No graph database, elaborate web interface, large-scale embedding system or expensive OCR purchase is necessary to prove the first three milestones. --- ## 16. Decisions to defer until evidence is available - Exact TEI mapping or project-specific XML schema. - Whether HTML, DOCX or another FineReader export best preserves useful layout. - Whether a dedicated graph database is needed beyond XML plus NetworkX. - Which cross-index matching methods are accurate enough to automate. - How to weight shared locators and long page ranges. - How much AI inference to automate and what review thresholds to require. - Whether the user-facing result should be one global network, several linked neighbourhoods, or both as views. - Whether semantic neighbourhood retrieval measurably improves any given AI model or task. --- ## 17. Immediate next actions 1. Save this roadmap in the Ideonomy Project's working documentation. 2. Obtain the CSS companion to `Ideonomy_Orange.htm` for inspection. 3. Inspect the NISO PDF's final pages and confirm the presence and form of its index. 4. Choose a tiny, visually checked index sample as our initial gold-standard test. 5. Draft a minimal intermediate XML format and a minimal index-archive XML format. 6. Write the first source inspector, then the smallest parser that can pass the sample tests. 7. Only after the extraction is demonstrably faithful, construct the first graph. --- ## 18. Research references and design inspirations - ANSI/NISO Z39.4-2021, *Criteria for Indexes*: conventions and terminology for index construction. It is guidance, not a universal machine-readable parsing grammar. - Isaac Alpizar Chacon (2023), *Extraction of Knowledge Models from Textbooks*, Utrecht University: especially Chapter 3, Section 3.3.5 on TEI model construction; the index-extraction rules around printed pages 58–59; and Chapter 5 on deriving domain-specific knowledge graphs from textbook indexes. - Text Encoding Initiative, TEI P5 Guidelines: established XML vocabulary for textual scholarship; to be assessed before inventing an entirely new schema. - ABBYY FineReader: current OCR tool and HTML export under investigation. --- ## 19. Definition of success The first version succeeds when it can take a short real index, recover every entry or explicitly account for every unresolved portion, preserve its structure in inspectable XML, and produce an evidence-backed network that an AI can query. The broader research succeeds only if accumulating independent indexes creates useful new connections and controlled tests show that those connections improve AI-supported intellectual work. **Guiding maxim:** *Extract without prejudice. Preserve without loss. Connect with evidence. Interpret with care. Test what becomes possible.*