How to create flashcards from a text file

So you have hundreds of French (or German, or Japanese, or Klingon) words you want to commit to memory. Using a flashcard app like Fresh Cards is a great way to practice them daily.

Fresh Cards offers a slick UI to help you create new cards. Just type in the front of the card, hit Return, type the back of the card, then hit cmd-Save. If you want to create a bunch of cards in succession, just click on the checkbox to create another card after the save and it’ll clear the front and back text fields so you can add another card quickly.

That’s great, but did you know you can also drag and drop a text file into the app to import hundreds of cards all at once?

To start off, open up TextEdit on your Mac and create a new document. Start typing the front text and back text, each on a separate line, then enter a blank line, and follow that with another set of front and back text.

It should look something like the above. Now save the file as something like flashcards.txt. Make sure the file extension is .txt.

Now all you have to do is drag and drop that file into the app. If you want to create a new deck from the cards defined in your text file, drag and drop into the deck list. If you want to add them to an existing deck, drag and drop into an existing card list.

After you’ve dragged and dropped the file, you’ll get a nice preview of the cards you’re about to import so that you can uncheck the ones you don’t want. Even better, the app will uncheck duplicates it finds for you!

It’s that easy. Hope that was helpful.

If you want to learn more about the text format for importing, check out the help page. Fresh Cards can support even more complicated text file formats for when you want to import audio and images as well. (Not to mention its ability to import exported Fresh Cards decks and Anki decks.)

Download Fresh Cards for Mac and iOS today!

How is Firefox so far on a Mac with Apple Silicon?

A few weeks ago I bought a new Mac Mini with Apple’s new M1 chip. I have an app in the Mac App Store, so I needed to make sure it ran okay with the new silicon and with the new macOS Big Sur.

Firefox had a bunch of issues loading pages, like protonmail.com, but eventually they released version 84, built for Apple Silicon.

So how is it so far?

Not bad. However, if I leave the browser for several hours, the next the time I use it, the UI will be frozen. It won’t have a spinning beach ball of death, but it will be unresponsive. Restarting it seems to fix it.

Other than that major issue, I’m finding it’s working well for browsing the web. It’s snappy and doesn’t crash. If you are planning to get an M1 Mac, you should have a generally good experience with Firefox.

Improving Spaced Repetition with CoreML?

Idle thought: could I update the spaced repetition algorithm that my flashcard app (Fresh Cards) uses to make use of CoreML for machine learning? Fresh Cards records all your card review evaluations, so it should be possible to process all the data about how well you recall all cards over time to adjust the repetition intervals. The goal would be to use CoreML to do a sort of curve-fit of your recall data. The curve would be the Ebbinghaus forgetting curve and the data points would be your review timestamps and review scores.

Some interesting ideas here… More to come.

Use Cloze Deletions to improve your flashcards

I’m working on adding a new feature to the app, which I’m calling “Blanks”. This is also known as “cloze deletion”. What it allows you to do is take existing text and obscure, or “blank out”, portions of it.

I wanted to make this feature incredibly simple to use and I think I’ve devised a great way to do it. Here’s an example of a phrase that has a blanked portion:

The capital of Washington state is [Olympia]

If you enter the above in the front card, when it is presented to you, Olympia will be replaced with a blank. When you flip to the back card, you’ll see the answer, Olympia.

What you enter:

What you see:

Could it be any simpler? You can also add a hint in parentheses and it’ll show up beside the blank:

The really amazing thing to me is combining this feature with .txt file import. You can very, very quickly edit a huge list of sentences, converting them to cloze deletion cards. I typed the following text in a minute and dragged it into the app to create cards––even faster than using the UI directly!

JFK pledged to put a man on the moon by [the end of the decade].

The [Apollo 11] mission landed on the moon in [1969 (year)].

[Buzz Aldrin] was the first person to step on the moon.

The capital of Oregon is [Salem]

That’s “Blanks”, a new feature coming to the app in a few days!

Curious to know what new features are coming to Fresh Cards?

I’ve just posted info on new features I’m planning or working on currently.

Shipping an app out the door is a ton of work, which includes coming up with copy for the app store, getting some content up on the web, and finalize all artwork and colors in the app. All that work is not quite as satisfying as coding up new features in the app, so I’m excited to get back to that.