Learn R Programming

ankiR (version 0.6.0)

anki_similar_cards: Find similar/duplicate cards

Description

Uses text similarity to find potential duplicate cards.

Usage

anki_similar_cards(
  path = NULL,
  profile = NULL,
  threshold = 0.8,
  max_comparisons = 50000
)

Value

A tibble of similar card pairs

Arguments

path

Path to collection.anki2 (auto-detected if NULL)

profile

Profile name (first profile if NULL)

threshold

Similarity threshold (0-1, default 0.8)

max_comparisons

Maximum number of comparisons (default 50000)

Examples

Run this code
if (FALSE) {
dupes <- anki_similar_cards(threshold = 0.9)
}

Run the code above in your browser using DataLab