Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix support #974

Open
nimble0 opened this issue Jun 16, 2018 · 3 comments
Open

Prefix support #974

nimble0 opened this issue Jun 16, 2018 · 3 comments

Comments

@nimble0
Copy link
Contributor

nimble0 commented Jun 16, 2018

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

@morinted
Copy link
Member

morinted commented Jun 16, 2018 via email

@percidae
Copy link
Contributor

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.

@nimble0
Copy link
Contributor Author

nimble0 commented Jun 16, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants