Recent commits to memoire (3949c0999f3b22f5ad343cff199c5e0c71a2a69a) https://git.dkl9.net/memoire/tree/3949c0999f3b22f5ad343cff199c5e0c71a2a69a Recent commits feed provided by GitList. Move Lua source code into src/ directory https://git.dkl9.net/memoire/commit/3949c0999f3b22f5ad343cff199c5e0c71a2a69a (John Smith) Sun, 14 May 2023 18:56:28 -0400 3949c0999f3b22f5ad343cff199c5e0c71a2a69a Split actions out into separate files Instead of being clumped into actions.lua, each action/option is implemented in a separate file, one of - addcards.lua - correction.lua - help.lua - leeches.lua - query.lua - reviewtty.lua - statistics.lua - toggle.lua - vocalreview.lua https://git.dkl9.net/memoire/commit/254cab7e1062e3add227e6ac5117a9a87ba36b4e (John Smith) Sun, 14 May 2023 18:45:37 -0400 254cab7e1062e3add227e6ac5117a9a87ba36b4e Use prompt-index 1 as the default When the user runs a Memoire command which expects an index of the form `card:prompt`, they may instead just put in `card` and let Memoire infer `prompt` to be 1. This is especially convenient for the "c" operation, which does not depend on `prompt` anyway. https://git.dkl9.net/memoire/commit/d9d5626aa9e723f8c3180731d96783843fe17b03 (John Smith) Sun, 14 May 2023 17:52:33 -0400 d9d5626aa9e723f8c3180731d96783843fe17b03 Implement deck queries The "q" option now presents cards (with indices into the deck) containing a string specified by the user. Users could already do this with grep, but this is easier and better-integrated into Memoire. Perhaps Memoire will support more elaborate queries in the future. https://git.dkl9.net/memoire/commit/1d0c484b53eed9f94a9c68f38db94ad961c3d38c (John Smith) Sun, 14 May 2023 17:47:50 -0400 1d0c484b53eed9f94a9c68f38db94ad961c3d38c Implement vocal review mode With the "v" option, Memoire can run interactive reviews thru text-to-speech, now requiring only text input and speakers rather than a screen. The user can customise the text-to-speech with the EspeakFlags config option, and can have the cards processed more precisely than multiclozes by writing a prspeak.lua in their configuration directory. https://git.dkl9.net/memoire/commit/1ce6a0b38fa6673b09ae5a06f622f1e7708dd0e8 (John Smith) Sun, 09 Apr 2023 00:07:59 -0400 1ce6a0b38fa6673b09ae5a06f622f1e7708dd0e8 Use default values when loading prompts This fixes a bug in which Memoire crashed if the user edited a card to have more prompts than before. https://git.dkl9.net/memoire/commit/7253ef9127ed5d16d743edc3ac39dddf75a0c1ed (John Smith) Tue, 04 Apr 2023 10:58:40 -0400 7253ef9127ed5d16d743edc3ac39dddf75a0c1ed Improve prompt prioritisation for review When the review procedure sorts prompts for review, it now considers the text of the prompt, and for each PriorityText entry in the config, the prompt will be made more important by a number (possibly negative) given in a corresponding PriorityBias entry. 0.1 is a reasonable value. https://git.dkl9.net/memoire/commit/bb5ea2361db7a31386fb2e2d7cbce5586b3f7b48 (John Smith) Fri, 31 Mar 2023 19:00:39 -0400 bb5ea2361db7a31386fb2e2d7cbce5586b3f7b48 Exclude suspended prompts in statistics The "s" option now generates histograms only based on non-suspended prompts, which helps to exclude distortive and semi-irrelevant outliers. https://git.dkl9.net/memoire/commit/0bbb59d1832e5b1b53aea375d730a7d7b7511239 (John Smith) Fri, 31 Mar 2023 18:08:33 -0400 0bbb59d1832e5b1b53aea375d730a7d7b7511239 Check new prompts for proper bracing If one using the "a" option submits a prompt with an unmatched brace, Memoire will warn the user about this, rather than blindly accepting the bad prompt and potentially crashing. https://git.dkl9.net/memoire/commit/42e07641e3a19cfed1c932759ac7514c1031f0fb (John Smith) Thu, 30 Mar 2023 06:24:37 -0400 42e07641e3a19cfed1c932759ac7514c1031f0fb Include success-count in prioritisation When the review procedure sorts those prompts which need review, it will now take into account the number of successful reviews for each prompt, lowering the priority of more-successful, more-studied prompts. https://git.dkl9.net/memoire/commit/45c5fc6ecb00602a98595a7c927ae96e094ebda5 (John Smith) Sun, 05 Mar 2023 12:34:34 -0500 45c5fc6ecb00602a98595a7c927ae96e094ebda5