Package: plover-word-tray
Word Tray for PloverWord Trayis a GUI plugin that automatically looks up efficient outlines for words that start with the current input, much like autocomplete suggestions. It is heavily inspired byStenoTray, which was a widget made before Plover's plugin system was implemented.InstallationInstall Word Tray using the Plugin Manager!Usage NotesPseudosteno & ToleranceIn the settings page, you may turn onDisplay Pseudostenoto show hidden sounds in the list of outlines, such asPLOFRinstead ofPHROFR.Tolerancedetermines the maximum outline length above the minimum length the widget will list. For instance, if the minimum number of strokes required to stroke the word "sample" is 2, settingTolerance = 3will display all outlines with 2 to 5 strokes.Macro Strokes & ShortcutsTo scroll between pages in the widget, you may use the following dictionary definitions. Note that these don't come with the plugin itself and you'll have to add them manually! Feel free to use the recommended strokes, or don't.ActionDictionary DefinitionRecommended StrokeNext Page=wt_next_page#-GSPrevious Page=wt_prev_page#-RBReload Suggestions=wt_reload#-RBGSThe plugin keeps an internal copy of your dictionaries to load suggestions faster. If you edit the dictionaries, this plugin might not respond immediately; you may force it to reload using the Reload Suggestions stroke.Display Order TypesDisplay OrderExplanationLengthOrder by shortest word firstFrequencyOrder by most frequent word first, if the current system provides a frequency table.Stroke CountOrder by lowest stroke count first.AlphabeticalOrder by translation alphabetically.System DefinedOrder defined by the system. The default English stenotype system doesn't have a defined display order. Defaults to Length.System-defined functionsIf you're designing a language system for Plover and you'd like to customize the display order and format, you may do so by including these functions in your system file:defWT_STROKE_FORMATTER(stroke:str)->str:"""Formats single strokes, such as STROEBG"""return...defWT_TRANSLATION_FORMATTER(translation:str)->str:"""Formats the translated string, such as 'stroke'"""return...defWT_SORTER(entry:Tuple[str,Tuple[str,...]])->int:"""Scores translation-outline pairs, such as ("translate", ("TRAPBS", "HRAEUT"))Note that the order of the tuples here are reversed from plover-next-stroke.Pairs are ordered from smallest to biggest;it need not be an int - anything that can be comparedworks, including strings or tuples of ints."""translation,outline=entryreturn...All suggestions will be run through the two formatters (if available) before being sorted. If the user chooses to turn on pseudosteno formatting, the pseudo conversion will happen after sorting. The sorter will only be used if the user changes their display order to "System Defined".License & CreditsThis plugin is licensed under the MIT license.The icons used in this plugin are taken fromIcons8 Flat Color Icons.Much of the UI in this plugin is taken from thePlover Next Strokeplugin.Of course, it goes without saying that this plugin owes its existence to the originalStenoTray, made by@brentn, with contributions from@Mqrius,@morinted,@seebs, and@David-Allison.