Skip to contents

Diagnostic function to examine similarity relationships for a specific kanji and help troubleshoot network connectivity issues.

Usage

wk_debug_kanji_similarity(kanji_df, target_kanji, expected_similar = NULL)

Arguments

kanji_df

Data frame of kanji data with similarity information

target_kanji

Character string of the kanji to examine, or English meaning

expected_similar

Optional character vector of kanji you expect to be similar

Value

List with diagnostic information about the kanji and its similarity data

Examples

if (FALSE) { # \dontrun{
# Debug why Water isn't connecting to all expected similar kanji
wk_debug_kanji_similarity(kanji_resolved, "Water", 
                         expected_similar = c("泳", "球", "永", "氷", "求"))
} # }