Tools for analyzing bilateral semantic structure in Egyptian hieroglyphics
Project description
Bilateral Egyptian
A Python toolkit for analyzing bilateral semantic structure in Egyptian hieroglyphics.
Based on the bilateral covenant hypothesis (Brown, 2026), which proposes that mirror symmetry in Egyptian hieroglyphic composition encodes semantic structure rather than aesthetic preference.
Installation
pip install bilateral-egyptian
Quick Start
from bilateral_egyptian import (
analyze_compound,
detect_mirror_pair,
calculate_mar,
KNOWN_MIRROR_PAIRS
)
# Analyze a compound word
result = analyze_compound("mꜥꜣt")
print(result)
# {'word': 'mꜥꜣt', 'covenant_status': 'intact', 'ayin_medial': True, ...}
# Check for mirror pairs
vocab = ["kꜣ", "ꜣk", "bꜣ", "ꜣb", "nfr"]
pair = detect_mirror_pair("kꜣ", vocab)
print(pair)
# {'forward': 'kꜣ', 'reverse': 'ꜣk', 'is_mirror_pair': True}
# Calculate Mirror-Axis Ratio
words = ["mꜥꜣt", "kꜣ", "bꜣ", "simple", "other"]
bilateral = ["mꜥꜣt", "kꜣ", "bꜣ"]
mar = calculate_mar(words, bilateral)
print(f"MAR: {mar}") # MAR: 0.6
Features
Mirror Pair Detection
Identifies phonetically symmetrical word pairs where both reading directions yield attested Egyptian words with related meanings.
from bilateral_egyptian import find_mirror_pairs, KNOWN_MIRROR_PAIRS
# Find all mirror pairs in a vocabulary
pairs = find_mirror_pairs(vocabulary_list)
# Access known mirror pairs with semantic analysis
for pair in KNOWN_MIRROR_PAIRS[:5]:
print(f"{pair[0]} ({pair[1]}) ↔ {pair[2]} ({pair[3]}): {pair[4]}")
Bilateral Compound Analysis
Analyzes compound words for proto-phoneme composition, ayin positioning, and covenant status.
from bilateral_egyptian import analyze_compound, extract_proto_phonemes
# Full bilateral analysis
result = analyze_compound("ꜥnḫ", meaning="life")
# Extract proto-phonemes
protos = extract_proto_phonemes("kꜣmwt")
print(protos) # ['KA', 'MA', 'TA']
Stratification Analysis
Analyzes bilateral structure across historical periods, testing the degradation hypothesis.
from bilateral_egyptian import calculate_period_mar, EgyptianPeriod
result = calculate_period_mar(
words=old_kingdom_words,
bilateral_words=old_kingdom_bilateral,
period=EgyptianPeriod.OLD_KINGDOM
)
print(result)
# {'period': 'old_kingdom', 'observed_mar': 0.72, 'baseline_mar': 0.72, ...}
The Bilateral Covenant Hypothesis
This toolkit implements analytical methods from the bilateral covenant hypothesis, which proposes:
-
Mirror Symmetry as Structure: Egyptian hieroglyphic art and architecture encodes semantic structure through bilateral symmetry, not merely aesthetic preference.
-
Eleven Proto-Phonemes: The Egyptian phonemic system reduces to eleven bilateral roots (BA, DA, HA, KA, LA, MA, NA, RA, SHA, TA, WA) centering on ayin (ꜥ) as covenant axis.
-
Declining MAR: Mirror-Axis Ratio declines from Old Kingdom (0.72) through Late Period (0.54), consistent with transmission degradation.
-
Relational Preservation: Relational vocabulary (kinship, reciprocal actions, covenant formulas) maintains elevated MAR (+9.2%) across all periods.
References
-
Brown, N.D. (2026a). The Bilateral Covenant: Mirror Symmetry as Semantic Structure in Egyptian Hieroglyphics. DOI: 10.5281/zenodo.18168786
-
Brown, N.D. (2026b). Bilateral Egyptian Dictionary: Methodology and Core Entries. DOI: 10.5281/zenodo.18169109
-
Brown, N.D. (2026c). Bilateral Inscription Architecture: Spatial Predictions from Phonemic-Semantic Analysis. (Forthcoming)
License
MIT License
Contributing
Contributions welcome. Please read the contributing guidelines and submit pull requests to the GitHub repository.
Citation
If you use this toolkit in your research, please cite:
@software{bilateral_egyptian,
author = {Brown, Nicholas David},
title = {Bilateral Egyptian: Tools for Analyzing Bilateral Semantic Structure},
year = {2026},
url = {https://github.com/bilateral-egyptian/bilateral-egyptian}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bilateral_egyptian-0.1.0.tar.gz.
File metadata
- Download URL: bilateral_egyptian-0.1.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6760d0dbf16cc75ad26bb7044443e9530ba74af5ef241336faa94e2fd7d23b56
|
|
| MD5 |
83bbba3ad214280fc2dacf8b3ebde6e9
|
|
| BLAKE2b-256 |
0d83dcb4fd849e4e3773a8c9936edc4da3edcaedae08a8ae90df7edacd671e8e
|
File details
Details for the file bilateral_egyptian-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bilateral_egyptian-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2fed5d51b5f9c69ad3f60d434d836c6151ae2b7c05989317ff834090b7eac3c
|
|
| MD5 |
e290ec5cd2ae16f69861bdfa6035e327
|
|
| BLAKE2b-256 |
655e890e43711d9ed9acea6e5b1723d5976e43dc06606019c3f4e212f652e4ac
|