nsmarkop / plover_korean

Korean plugin for Plover
GNU General Public License v3.0
12 stars 5 forks source link

Sorizava theory implementation #8

Open sammdot opened 2 years ago

sammdot commented 2 years ago

I've managed to acquire a Sorizava steno machine and accompanying theory book 디지털 영상속기사 Easy Start!, and decided to write up a summary of the theory principles so that a dictionary can be built and implemented in Plover.

As mentioned in #4, the second ㅋ key on the initial side is a final ㅋ, which is labeled ㉪ in the theory book, and ㈊ on my machine. I suggest be used as the key label in Plover. Alternatively, because it is technically a final, -ㅋ can be used, but it may need to be farther down in the steno order (not that there is one, officially).

Suggested implementation, using ㉪ for final ㅋ:

KEYS = (
  # Steno order for consonants is roughly left-to-right
  # then top-to-bottom, except for ㉪ and ᅴ

  "ㅊ-", "ㅌ-", "ㅋ-", "ㅂ-", "ㅍ-",
  "ㅅ-", "ㄷ-", "ㅈ-", "ㄱ-",
  "ㅁ-", "ㄹ-", "ㄴ-", "ㅎ-",

  "㉪", "ᅴ",

  "ㅗ", "ㅏ", "ㅜ", "ㅡ", "ㅓ", "ㅣ",

  "-ㄲ", "-ㅎ", "-ㅌ", "-ㅊ", "-ㅍ",
  "-ㄱ", "-ㄴ", "-ㄹ", "-ㅅ", "-ㅂ",
  "-ㅆ", "-ㅇ", "-ㅁ", "-ㄷ", "-ㅈ",
)

IMPLICIT_HYPHEN_KEYS = (
  "㉪", "ᅴ", "ㅗ", "ㅏ", "ㅜ", "ㅡ", "ㅓ", "ㅣ",
)

Alternative using -ㅋ for final ㅋ:

KEYS = (
  "ㅊ-", "ㅌ-", "ㅋ-", "ㅂ-", "ㅍ-",
  "ㅅ-", "ㄷ-", "ㅈ-", "ㄱ-",
  "ㅁ-", "ㄹ-", "ㄴ-", "ㅎ-",

  "-ᅴ",

  "-ㅗ", "-ㅏ", "-ㅜ", "-ㅡ", "-ㅓ", "-ㅣ",

  # Has to come after vowels in order to allow
  # vowels to have implicit hyphens without
  # conflicting with ㅋ-, but this makes steno
  # order potentially unintuitive
  "-ㅋ",

  "-ㄲ", "-ㅎ", "-ㅌ", "-ㅊ", "-ㅍ",
  "-ㄱ", "-ㄴ", "-ㄹ", "-ㅅ", "-ㅂ",
  "-ㅆ", "-ㅇ", "-ㅁ", "-ㄷ", "-ㅈ",
)

IMPLICIT_HYPHEN_KEYS = (
  "-ᅴ", "-ㅗ", "-ㅏ", "-ㅜ", "-ㅡ", "-ㅓ", "-ㅣ",
)
sammdot commented 2 years ago

Also, there are no separate number keys (it's just the top row), and the space key isn't actually used in the steno layout since it has two outlines -ㄴㄹ and -ㄴㄹㅅ, so it turns out Sorizava has exactly as many keys as CAS.