Skip to content

Releases: mortii/anki-morphs

v3.3.0

11 Oct 18:37
Compare
Choose a tag to compare

Announcement: The future of this add-on

I recently found out that Anki plans to transition away from Qt (the framework used for the GUI) to Svelte. This has completely killed my motivation for continuing to develop this add-on, as I have zero interest in porting the existing Qt code and components. As a result, this is probably the final non-bugfix release of AnkiMorphs.

New ✨

  • Added support for additional file formats for the generators (.ass, .epub, .html) and made the existing parsing more sophisticated (#297)

Bug Fixes 🐛

  • Fixed default output path of priority files & study plans

Documentation 📖

Contributors 👥

@mortii, @IncontinentCell, @aleksejrs

v3.2.2

05 Oct 11:42
Compare
Choose a tag to compare

Bug Fixes 🐛

  • Fixed 'undo' (Ctrl+Z) not working correctly when Anki's interface language was set to a non-English language (#296)

Contributors 👥

@bie-zheng, @mortii

v3.2.1

04 Oct 14:08
Compare
Choose a tag to compare

Bug Fixes 🐛

  • Fixed a crash that can happens when studying a large number of new cards in a single day (#295)

Contributors 👥

@hans

v3.2.0

20 Sep 19:26
Compare
Choose a tag to compare

New ✨

  • Added option to ignore custom characters when preprocessing text

Documentation 📖

Contributors 👥

@rwmpelstilzchen, @buqamura, @mortii

v3.1.1

31 Aug 09:04
Compare
Choose a tag to compare

Bug Fixes 🐛

  • Fixed 'PermissionError' when running recalc with priority file(s) open in another program (#285)

Contributors 👥

@mdraves91

v3.1.0

24 Aug 20:06
Compare
Choose a tag to compare

New ✨

  • Selections and geometry of AnkiMorphs dialogs are now preserved between sessions (#147)
  • Error message when trying to use non-utf8 files (#245)

Bug Fixes 🐛

  • Fixed 'load files' button not enabling after manually editing the input field (#284)

Contributors 👥

@aleksejrs, @Gardengul, @mortii

v3.0.1

09 Aug 17:44
Compare
Choose a tag to compare

Bug Fixes 🐛

  • The Suspend new cards with only known morphs option now works on cards with the am-known-manually tag ( #276)

Documentation 📖

Contributors 👥

@buster-blue, @fuquasteve, @Celebes, @mortii

v3.0.0

02 Aug 18:54
Compare
Choose a tag to compare

AnkiMorphs v3.0.0

Note: you should create a backup of your card collection before you start using v3

This release has several breaking changes, see the transitioning section for how to handle these.

You will likely experience a crash If you are upgrading from a v3 test builds, which you can fix by doing this.

This startup warning:

Screenshot from 2024-08-02 17-20-05

should stop showing up after you click the "Apply" or "OK" buttons in the settings.

New ✨

Improvements 🙌

  • Toolbar
  • Reduced the size of ankimorphs.db

Breaking Changes 💥

Transitioning from v2 to v3

Frequency Files -> Priority Files

The frequency file format has been updated to support evaluating morphs by their lemma or inflection. To make things clearer, we now call them "priority files."

The old frequency files won't work anymore, so you'll need to generate new priority files or download pre-made ones. Make sure to place them in the priority-files/ folder.

Languages w/ spaces -> SSS + punctuation

The Languages w/ spaces morphemizer was modified to prevent splitting words at hyphens and apostrophes. However, this change led to incorrect splitting of many Arabic words (and likely words in other languages as well). To address this, we introduced a new "true" white-space morphemizer, and renamed Languages w/ spaces to signal that it has been modified beyond being a basic white-space morphemizer.

am-unknowns -> am-study-morphs

The am-unknowns field tried to serve two contradictory purposes, so we split it into two new fields:

  • am-study-morphs: the unknown morphs the card had when you first studied it
  • am-unknown-morphs how many unknown morphs the card currently has

The am-study-morphs field has the exact same properties as the old am-unknowns, so if you used am-unknowns on your card templates as a "focus morph" cue, you can replace it with the new am-study-morphs field. Transitioning to this new field without losing information from am-unknowns can be a bit awkward, but thankfully Anki has a conditional replacement feature which makes it doable.

If you have this field on your card template:

{{am-unknowns}}

replace it with:

{{am-study-morphs}}
{{^am-study-morphs}}
    {{am-unknowns}}
{{/am-study-morphs}}

In the snipped above, the am-unknowns field will be shown if am-study-morphs is empty (which it will be on cards studied before the v3 update).

To ensure this transition works:

  • Make sure the am-study-morphs field exists on your cards, i.e., select in the extra fields settings and recalc.
  • If you used the am-unknowns field on both sides of your card template then you need to replace it both places.

am-unknowns-count -> am-unknown-morphs-count

The am-unknowns-count field is completely obsolete and can safely be removed from your cards.

Documentation 📖

Almost every page in the user guide has been updated.

Contributors 👥

@xofm31, @wolearyc, @iwouldrathernotusegithub, @Vilhelm-Ian, @fuquasteve, @aleksejrs, @Gardengul, @syfgk, @BobvanSchendel, @khanguyenwk, @Pedrubik2000, @RyanMcEntire, @buqamura, @Rct567, @rwmpelstilzchen.

v2.2.5

18 May 17:45
Compare
Choose a tag to compare

What's Changed

  • Fixed spaCy not importing correctly for python versions other than 3.9.

In other news:

We are currently working on AnkiMorphs V3, which will have very significant changes, including, but not limited to:

  • A completely new and more customizable algorithm
  • An option to assign scores to morphs based solely on their lemma
    • "The man walked" and "The man walks" will have the same score. This option will hopefully make inflection heavy languages like Korean more viable to learn with AnkiMorphs.

AnkiMorphs V3 will probably be released sometime within the next 1-4 months. Pre-release testing versions will be made available in the v3 megathread if you want to try them out--any and all feedback is welcome!

v2.2.4

16 Apr 13:05
Compare
Choose a tag to compare

What's New

  • Fixed a bug in the jieba morphemizer where non-cjk charaters were filtered out too early (thank you to @xofm31 for the feedback!)
  • Renamed the recalc settings option: Move new cards that only have known morphs to the end of the due queue -> Move new cards without unknown morphs to the end of the due queue (thank you to @iwouldrathernotusegithub for the feedback!)

Docs Updated