# decryption_complete: false # source: /abad_framework_complete(1).zip!/core/processor.py # stated_sha256: 97b3a4025c1c28c6895519a2e69fd63a8a451b69991235a56bf179bfbf248032 # matches_stated_sha256: false # pdf_pages: 674-674 # note: The stated SHA-256 is the digest printed in the PDF. # The PDF page extract follows the form feed. decryption_complete stays false. processor.py VOYNICH RESEARCH ARCHIVE | 16 SEPTEMBER 2026 1 processor.py Source: /abad_framework_complete(1).zip!/core/processor.py SHA-256: 97b3a4025c1c28c6895519a2e69fd63a8a451b69991235a56bf179bfbf248032 from .layer import Layer from .text import ABADText import re class ABADProcessor: """Main ABAD Framework processor.""" def __init__(self): pass def process(self, text, illustration_anchors=None): abad_text = ABADText(text, {"illustration_anchors": illustration_anchors}) # Basic layer 1: Literal layer1 = Layer("Literal", text[:500] + "..." if len(text) > 500 else text, 0.75) abad_text.add_layer(layer1) # Basic layer 2: Symbolic symbolic_content = "Symbolic interpretation: " + text[:200] + "..." layer2 = Layer("Symbolic", symbolic_content, 0.65, ["tree", "bird", "cycle"]) abad_text.add_layer(layer2) # Detect flips flip_points = self._detect_flips(text) abad_text.metadata["flip_points"] = flip_points return abad_text def _detect_flips(self, text): """Simple flip detection based on spacing and repetition.""" flips = [] if len(text.split()) > 10: flips.append({"position": "mid-text", "reason": "spacing key"}) return flips