get_asymmetric_counter

get_asymmetric_counter(index: dict[tuple[str, str], set[str]], priority: list[str], *, terms_exact: Mapping[str, Collection[str]], terms_observed: Mapping[str, Collection[str]]) Counter[tuple[str, str]][source]

Create a symmetric mapping counts counter from a directed index.