Remove rows that should not count in the distance computation and recalculate distances.
Arguments
- cws
Dataframe as outputted by
listContextwords
(semasioFlow Python module).- distance_corrector_func
Function to be applied to the
word
variable to remove irrelevant lines.