Converts a comparison matrix generated by pairwise_compare into a data frame of candidates for matches.
pairwise_candidates(m, directional =FALSE)
Arguments
m: A matrix from pairwise_compare.
directional: Should be set to the same value as in pairwise_compare.
Returns
A data frame containing all the non-NA values from m. Columns a and b are the IDs from the original corpus as passed to the comparison function. Column score is the score returned by the comparison function.