plover_stroke's People
Forkers
mawillcocksonplover_stroke's Issues
LICENSE missing from repository and PyPI release tarballs
All distributions of this software should include a copy of the license, or else they cannot be redistributed.
Some RTF outlines with implicit hyphens considered invalid
From Jeff on the Plover Discord:
The machine is translating everything as expected, but Plover is mistranslating (or not translating) a number of briefs. Most simply, the FPLT brief shows up as "-FPLT" in Word, rather than a period.
Aerick's response:
I think what's happening here is Plover expects
-FPLT
but the period stroke is defined asFPLT
so any entries that only use the right side keys will have to be reassigned
After reading the RTF/CRE spec, it seems to be much more lenient about including hyphens in outlines where the keys are already unambiguous:
A hyphen is used in cases where there may be confusion between an initial and final consonant. For instance, to differentiate between the strokes
/RBGS
[Plover:R-BGS
] and/-RBGS
[Plover:-RBGS
].
After some regex magic Jeff returned with not quite everything resolved:
So my regex approach corrected about 6,000 entries, and things in Plover are way better now--but still not perfect, because this dictionary is also missing hyphens in many left+right strokes, like
THR-R
for "there are" ...nuts.
In this case we see the same issue, in which both Rs are there and so the hyphen isn't strictly necessary, but the outline isn't getting parsed correctly.
We should be able to handle these cases as well, in order for RTF (and others) dictionaries from professionals and CAT systems to work without needing major changes. Plover's steno notation as implemented in this library is unambiguous, yes, but the input dictionaries with not-quite-canonical outlines should be considered valid as well and normalized into our notation.
TL;DR: plover_stroke
is too strict about hyphen usage, and some RTF/CRE dictionaries are failing to validate because of it.
Normalized RTFCRE stroke is inconsistent with Plover for `#H-B`
#H-B
doesn't work in Plover, only 4-B
does.
However this plugin reports the normalized form of 4-B
as #H-B
.
(it could also be a Plover bug for not recognizing #H-B
; however making the normalized RTFCRE form different between Plover and this library is not a good idea)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.