85d6fd4
Pinchord · pinchord.git · Tickets · Changelog
Branches > v29.2 > 85d6fd4 > files / setup.cfg
Add plover python dictionary
Commit: 85d6fd4f32206b2cf3232b80006690a9ff8c5900
Parent: 871970f
3 changed files:
plover_pinchord/dictionaries/pinchord-v25.0.py view file
@@ -0,0 +1,346 @@+## Pinchord Plover python dictionary+import re++## Longest valid outline, Pinchord only needs one stroke outlines :)+LONGEST_KEY = 1++BANKS = ["prefixes", "initials", "vowels", "finals", "suffixes"]++## Specified by 'chords.edn' (https://grahp.dev/pinchord.git/chords.edn)+## Unlike Shrimple, Pinchord enumerates all bank chords!+DICT = {+ "prefixes": {+ "#": "{-|}",+ "#+": "{^}{-|}",+ "#+": "{^}{-|}",+ "_": "{^}_",+ "_+": "{^}-",+ "#_": "{^}_{-|}",+ "#_+": "{^}-{-|}",+ },++ "initials": {+ "T": "t",+ "TSP&": "sk",+ "TP": "f",+ "TP&": "ph",+ "TSWR": "kr",+ "THR": "thr",+ "TPR": "fr",+ "PWR": "br",+ "SH&": "sch",+ "TSPR": "scr",+ "TSPR&": "skr",+ "TSWH": "kn",+ "TWH": "thw",+ "PWHR": "bl",+ "SPWHR": "cl",+ "TS": "st",+ "SPR": "spr",+ "SHR&": "shr",+ "HR": "l",+ "WH": "wh",+ "TW": "tw",+ "S": "s",+ "SR": "v",+ "SR&": "vr",+ "TPWR": "dr",+ "TPWH": "x",+ "H": "h",+ "PR": "pr",+ "TSPWR": "gr",+ "SHR": "sl",+ "SW": "sw",+ "SW&": "sv",+ "SWR": "y",+ "TSPWH": "gh",+ "R": "r",+ "SWHR": "squ",+ "TSR": "str",+ "TWHR": "j",+ "SH": "sh",+ "PH": "m",+ "TSP": "sc",+ "TR": "tr",+ "P": "p",+ "WHR": "qu",+ "WHR&": "q",+ "TPHR": "fl",+ "TPHR&": "phl",+ "TPR&": "phr",+ "TH": "th",+ "WR": "wr",+ "SPWR": "cr",+ "SPH": "sm",+ "TSW": "k",+ "SPHR": "spl",+ "TSPWHR": "gl",+ "TSWHR": "kl",+ "SPW": "c",+ "SWH": "z",+ "PHR": "pl",+ "SPWH": "ch",+ "TSPW": "g",+ "W": "w",+ "SP": "sp",+ "TSPH": "sn",+ "TPH": "n",+ "TPW": "d",+ "PW": "b",+ "": "{^}",+ },++ "vowels": {+ "OU": "ou",+ "AU": "au",+ "AOI": "ei",+ "AO": "oa",+ "AO^": "ao",+ "AU^": "ua",plover_pinchord/system.py view file
@@ -16,7 +16,7 @@ UNDO_STROKE_STENO = "-LR" DICTIONARIES_ROOT = "asset:plover_pinchord:dictionaries"-DEFAULT_DICTIONARIES = ('user.json',)+DEFAULT_DICTIONARIES = ("user.json", "pinchord-v25.0.py") KEYMAPS = { "Keyboard": {setup.cfg view file
@@ -1,6 +1,6 @@ [metadata] name = Pinchord-version = v24.1+version = v25.0 description = Chorded Typing System long_description = file:plover-description.md long_description_content_type = text/markdown@@ -18,6 +18,7 @@ setuptools>=30.3.0 install_requires = plover>=4.0.0+ plover-python-dictionary include_package_data = True packages = plover_pinchord