You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

plover-last-translation

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plover-last-translation

Macro plugins for Plover to repeat output.

0.0.2
pipPyPI
Maintainers
1

Plover Last Translation

Macro plugins for Plover <https://github.com/openstenoproject/plover>__ to repeat output.

Installation

Download the latest version of Plover for your operating system from the releases page <https://github.com/openstenoproject/plover/releases>__. Only versions 4.0.0.dev6 and higher are supported.

  • Open Plover
  • Navigate to the Plugin Manager tool
  • Select the “plover-last-translation” plugin entry in the list
  • Click install
  • Restart Plover

The same method can be used for updating and uninstalling the plugin.

Usage

In order to use these plugins you just need to create dictionary entries of the form:

.. code:: json

{
    "example_stroke": "=macro_name:macro_arg1,macro_arg2,..."
}

The available macros are:

  • repeat_last_translation

    • Arguments

      • Number of previous translations to output. Default is 1.
  • repeat_last_word

    • Arguments

      • Number of previous words to output. Default is 1.
  • repeat_last_fragment

    • Arguments

      • Number of previous fragments to output. Default is 1.
  • repeat_last_character

    • Arguments

      • Number of previous characters to output. Default is 1.

Some quick examples of the various acceptable forms:

.. code:: json

{
    "1_translation_stroke": "=repeat_last_translation",
    "1_translation_stroke": "=repeat_last_translation:",
    "2_translations_stroke": "=repeat_last_translation:2",
    "5_fragments_stroke": "=repeat_last_fragment:5,"
}

For the difference between a word and a fragment, see the RetroFormatter documentation <https://github.com/openstenoproject/plover/blob/d5c8e45d0cb398baee8b7ea1f81d7c998143361f/plover/formatting.py#L91>__.

Keywords

plover plover_plugin

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts