To create a filter deck

As far as I know, there is no way to interpret a field’s data numerically. That said, there are several ways to create such a deck:

  1. In the browser, sort by the frequency field so you can select the relevant cards. Tag them and use this tag to create the filtered deck. (Strangely, there doesn’t seem to be a way to create a filtered deck directly from the browser.)
  2. Probably the best approach would be to have the frequency information in the form of hierarchical tags, but that would require you to add those tags first, obviously. (Could be done quite easily with a little Python, though.)
  3. And lastly: RegEx. Apart from knowing the syntax, this also requires a recent version of Anki. For your example, the expression would be "Frequency:re:^(1?\d|20)$" (<=20) or "Frequency:re:^1?\d$" (<20).
2 Likes