plover icon indicating copy to clipboard operation
plover copied to clipboard

Prefix support

Open nimble0 opened this issue 7 years ago • 3 comments

This would add support for automatic prefixes similar to the automatic suffixes -G, -S, -D, and -Z.

Example with prefix "T-":

Entries: "T-": "the" "WORLD": "world"

Input: TWORLD Output: the world

Examples of potentially useful prefixes: "the", "{.}", "{,}", "{^}", "{-|}"

This would make no change in the functionality of the existing English stenotype system, it would be for use in new systems.

~~An implementation can be found here, but it's mixed with some other changes and based on a slightly outdated version of Plover: https://github.com/nimble0/plover/tree/extended-english-stenotype~~

Here's an implementation, it also has a few other changes to prefix/suffix handling: https://github.com/nimble0/plover/commits/feature/affix-strokes

nimble0 avatar Jun 16 '18 01:06 nimble0

I see this as a prerequisite to implementing orthographic systems à-la-vélotype where there is a "no space" key (without needing to rely on a python dictionary)

On Fri, Jun 15, 2018, 9:19 PM nimble0 [email protected] wrote:

This would add support for automatic prefixes similar to the automatic suffixes -G, -S, -D, and -Z.

Example with prefix "T-":

Entries: "T-": "the" "WORLD": "world"

Input: TWORLD Output: the world

Examples of potentially useful prefixes: "the", "{.}", "{,}", "{^}", "{-|}"

An implementation can be found here, but it's mixed with some other changes and based on a slightly outdated version of Plover: https://github.com/nimble0/plover/tree/extended-english-stenotype

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openstenoproject/plover/issues/974, or mute the thread https://github.com/notifications/unsubscribe-auth/AFkgSnC7chzacixCLEO08JtVnFkOup9Iks5t9F0ogaJpZM4UqTXY .

panathea avatar Jun 16 '18 04:06 panathea

I think this would be a great feature in plover for languages like German with lots of compound words and upper and lower case in sentences.

For German for example: One key could be used as "shift" for upper case and another key could be used for "sticky" (no space) to put together compound words. This would avoid the need to have every possible combination of compound words in the dictionary and it would eliminate extra strokes for upper case in a sentence.

percidae avatar Jun 16 '18 08:06 percidae

I'm not familiar with any of the orthographic systems but I think you'd still need a python dictionary because you still only get one prefix and one suffix per stroke.

I remembered another prefix/suffix thing that could be good, which is support for prefix and suffix strokes instead of only single keys.

nimble0 avatar Jun 16 '18 22:06 nimble0