=?utf-8?q?Companion_plugin_for_B=C3=A9poSt=C3=A9no_-_split_words_at_apostrophekeys_and_punctuations=2E?=
Project description
Plover Split at Apostrophe
Companion plugin for BépoSténo - split words at the apostrophe key.
The premise:
For certain languages, articles that go placed before a noun or adjective that starts with a vowel (eg. le appétit
) can get contracted (into l'appétit
).
This means that contracting an expression like l'appétit
would take the steno strokes from L{apostropheKey}/A/PE/TI
(pronounced le appétit
) to L{apostropheKey}A/PE/TI
. Given that french and italian are full of these little contractions, it would save a lot of keystrokes to be able to have contracted articles and vowel-starting words into a single stroke. A few more examples:
L{apostropheKey}An
: l'an
(tr: the year)
J{apostropheKey}A/T*Or
: j'adore
functionality:
Having apostrophe-separated strokes assumes the following:
- The apostrophe-key must act as a word-boundary at its position in the steno-order. Using my current steno-order:
S K P M T F * R N L {apostropheKey} Y O ^ E È A À U I l É n $ B D C # ß
- any stroke following the pattern:[SKPMTFRNL]{apostropheKey}[YO^EÈAÀUIlÉn$BDC#ß]
would be interpreted by plover as[SKPMTFRNL]{apostropheKey}{^}[YO^EÈAÀUIlÉn$BDC#ß]
. - The strokes on the left-side of the apostrophe-key terminate a word, the ones on the right-side start a new one.
- Plover needs a notation to represent the keys on either side of the apostrophe-key as strokes. This is similar to the current way of handling conditionals that plover has (
{=REGEXP/TRANSLATION_IF_MATCH/TRANSLATION_IF_NOT}
) - with the notable difference that capture groups from the=REGEXP
would have to be re-usable in theTRANSLATION_IF_MATCH
.
Usage
Choose a key to be your apostrophe key. Set it in your system.py
in the steno order. In most syllabic steno systems, such as GrandJean, that would be after the attack consonants, and before the vowels.
From there, any stroke that you want to split at the apostrophe key needs to call the plugin, using the following format in the dictionnary:
"<start_of_stroke><apostrophe_key><rest_of_stroke>": "=split_word_at_apostrophe",
This is less than ideal, as it forces the user to write up every stroke that will have to be split into to the dictionnary. Luckily though, I've found through experience that there are not so many strokes that will require this.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plover_split_at_apostrophe-0.0.5.tar.gz
.
File metadata
- Download URL: plover_split_at_apostrophe-0.0.5.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11335ecdd822fb1d51205d5026480c16bd09ab302e2ae59eda024236e31669ac |
|
MD5 | 7f9badcfc739bb4169a969afb6be2641 |
|
BLAKE2b-256 | a29ae263f6cdd172f12ad5631f14e83282290e524544e24ce3e983802706a8d9 |
File details
Details for the file plover_split_at_apostrophe-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: plover_split_at_apostrophe-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 448503bc229ffe3117d0548d9805e2c485bd6c5f0969d61fb564e3f1b732d38a |
|
MD5 | 9ec84797ac21afc97cbfceffd55dce35 |
|
BLAKE2b-256 | 16f30c8e8ef6ef17276a7346132c73765fce89447be47632a64803520c2e03c6 |