Skip to content

Instantly share code, notes, and snippets.

View morinted's full-sized avatar

Ted Morin morinted

View GitHub Profile
# Copyright (c) 2015 Kevin Nygaard
# See LICENSE.txt for details.
"""A gui display of stroke suggestions """
import wx
import wx.richtext
import re
from wx.lib.utils import AdjustRectToScreen
from plover.gui.util import find_fixed_width_font
@morinted
morinted / building
Last active November 7, 2015 17:34
Plover Mac build error
Teds-MBP:osx ted$ git:(upstream ⚡ benoit-pierre-better-dev-env)make clean && make dist/Plover.app
rm -rf build/ dist/ Plover.dmg tmp/
python setup.py py2app
running py2app
creating /Users/ted/git/plover/osx/build
creating /Users/ted/git/plover/osx/build/bdist.macosx-10.6-intel
creating /Users/ted/git/plover/osx/build/bdist.macosx-10.6-intel/python2.7-standalone
creating /Users/ted/git/plover/osx/build/bdist.macosx-10.6-intel/python2.7-standalone/app
creating /Users/ted/git/plover/osx/build/bdist.macosx-10.6-intel/python2.7-standalone/app/collect
creating /Users/ted/git/plover/osx/build/bdist.macosx-10.6-intel/python2.7-standalone/app/temp

Differences between StenoTray, training tools, and suggestions window.

StenoTray

  • doesn't handle prefixes/suffixes well
  • predicts what you are trying to type (kat would show cat, cation, catacism, etc.
  • Runs quite slowly, lagging behind about a second or two depending on your PC

Suggestions Window

{
"PH-FP": "—"
}
@morinted
morinted / Plover dictionary brainstorming.md
Last active April 2, 2024 20:18
Plover dictionary brainstorming

Right now Plover stores strokes as "STROKE": "definition".

This is great and easy, but lacks extendability.

A couple things that occur:

  • hard to find when a word has multiple strokes
  • Inability to add inline notes or to define strokes as briefs or whatnot

Take a look at a proposed restructuring:

@morinted
morinted / only_changed.json
Last active September 25, 2015 23:34
Only changes to the Plover dictionary
{
"A*ED": "{ad^}",
"A*PD": "ADP",
"AFP/REUGS": "aspiration",
"ALG/KWRA": "{^algia}",
"AO*EPBT": "ENT",
"AO*EUPB/EUBG": "ionic",
"AOUPB": "{uni^}",
"AP": "app",
"APBD/ROEUD": "Android",
@morinted
morinted / conflict_resolution.json
Last active September 25, 2015 03:01
Conflict Resolution of Plover + Mirabai's dictionaries
{
"*ED": "ed",
"*ED/*ED": "Ed",
"*EPL": "'em",
"*ERT/RO/PHAOEUS/*EUPB": "erythromycin",
"*ERT/RO/PHAOEUT/*EUPB": "erythromycin",
"*UBG": "U.K.",
"-F/KOS": "of course",
"-FPLT": "{.}",
"-FT/TPHEBGS": "of the annex",
@morinted
morinted / plover_onto_all_merged.diff
Created September 24, 2015 23:16
Plover dictionary versus Mirabai's
@@ This file shows what Plover will replace in Mirabai's dictionaries
--- Mirabai's dictionary entries
+++ Plover's dictionary entry that will replace Mirabai's
+"#2/#6/#0": "260",
+"#240": "240",
+"#45/TK-PL": "$45",
-"*ED": "ed",
+"*ED": "Ed",
-"*EPL": "them",
+"*EPL": "'em",
@morinted
morinted / full_difference.diff
Created September 24, 2015 23:14
Mirabai's dictionaries over Plover's
This file has been truncated, but you can view the full file.
--- Mirabai's full dictionaries
+++ Plover's default dictionary
@@ All identical entries trimmed away
- "": "",
- "\"/(@@\"": "Sonata",
- "\"1,000\"": "1000",
- "\"=KEITH\"": "KEITH,0",
- "\"=PAULA\"": "PAULA,0",
- "\"=RACHEL\"": "RACHEL,0",
- "\"=THE/WITNESS\"": "THE WITNESS,0",