fourshade / spectra_lexer

Stroke and rule analyzer for stenography
GNU General Public License v2.0
35 stars 3 forks source link

Is it multilingual? #8

Closed flamenco108 closed 2 years ago

flamenco108 commented 3 years ago

Hello. I just would like to ask if spectra works with other dictionaries and key-layouts than Plover? I mean, I create dictionary and key-layout for Polish, load it to Plover and start spectra plugin. Would it work?

fourshade commented 3 years ago

The layout and rule set aren't hardcoded, so in theory there's nothing preventing it from working with other languages, but the only one it has by default is English. There are three JSON-based data files that define what the key layout is, what the rules are, and how the board diagrams are drawn. Changing the key layout is probably easy enough, but codifying the rules that govern another steno theory would take significant effort. Without new rules it won't be able to make heads or tails of input from another language.