Files
to-hen/pronouncer/process.sed
2026-03-14 07:26:20 +01:00

91 lines
1.2 KiB
Sed
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env -S sed -f
s/ֽ//g # meteg
s/\([ְֱִֵֶַָֹֹ]\?\)\(ּ\?\)\([ׁׂ]\?\)/\3\2\1/g
s/[֛֖֥֑֣֤֧֮֒֗֙֨֠֔֩֡]/'/g
s/ךְ/ך/g
s/שׁ/š/g
s/שׂ/ś/g
s/בּ/b/g
s/דּ/d/g
s/גּ/g/g
s/[פף]ּ/p/g
s/תּ/t/g
s/[כך]ּ/k/g
s/ב/β/g
s/ד/δ/g
s/ג/γ/g
s/[פף]/φ/g
s/ת/θ/g
s/[כך]/χ/g
s/ח//g
s/[ןנ]/n/g
s/ר/r/g
s/א/ʾ/g
s/[מם]/m/g
s/[צץ]//g
s/ל/l/g
s/ז/z/g
s/ק//g
s/ט//g
s/ה/h/g
s/ע/ʿ/g
s/וּ/û/g
s/ֵי/ê/g
s/ִי/î/g
s/ְ/ə/g
s/ֱ/ĕ/g
s/ֶ/e/g
s/ֹ/ō/g
s/ַ/a/g
s/ֲ/ă/g
s/ֵ/ē/g
s/ִ/i/g
s/ֻ/u/g
s/ָ/ā/g
s/ׇ/o/g
s/ו/v/g
s/י/y/g
s//ô/g
s/\(.\)ּ/\1\1/g
s/\([ḥʿ]\)a\b/a\1/g # patah furtivum
s/\([ai]\)\([rḇḳy]\)ə/\1\2/g
s/־/-/g
s/׃/./g
s/\([aeiuāēōêîû]\)\('\?\)\([ptk]\)\('\?\)\([aeiuāēōêîû]\)/\1\2\3\3\4\5/g # dagesch forte
s/\([aeiuoá]\)\(.\)ə/\1\2/g # schwa quiescens
s/\bφ\b//g
s/a'/á/g
s/ā\(.\?\)'/ā́\1/g
s/ē\(.\?\)'/ḗ\1/g
s/e\(.\?\)'/é\1/g
s/ō\(.\?\)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