mr-martian / apertium-grep

search and replace tools for Apertium source files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apertium-grep

search and replace tools for Apertium source files

Dependencies:

$ pip3 install tree-sitter-apertium

Orthography Conversion:

$ apertium-grep/apertium-grep.py -t -r 'b / ב' -r 'g / ג' -r 'd / ד' -r 'h / ה' -r 'w / ו' -r 'z / ז' -r 'x / ח' -r 'v / ט' -r 'y / י' -r 'k / כ' -r 'l / ל' -r 'm / מ' -r 'n / נ' -r 's / ס' -r 'p / פ' -r 'c / צ' -r 'q / ק' -r 'r / ר' -r '%{s%} / שׂ' -r '%{sh%} / שׁ' -r 't / ת' -r 'a / ַ' -r 'á / ָ' -r 'e / ֵ' -r 'é / ֶ' -r 'i / ִ' -r 'o / ֹ' -r 'u / ֻ' -r '%@ / ְ' -r 'ä / ֲ' -r 'ë / ֱ' -r 'ö / ֳ' -r '. / ּ' -r "%' / א" -r "%{'%} / ע" apertium-hbo/apertium-hbo.hbo-ortho.twol blah
$ mv blah apertium-hbo/apertium-hbo.hbo-ortho.twol 

About

search and replace tools for Apertium source files

License:GNU General Public License v3.0


Languages

Language:Python 100.0%