Skip to contents

Store distances as tsv and return dist object.

Usage

getDistMtx(wwmx, source_dir, lemma, suffix = "")

Arguments

wwmx

Distance matrix as outputted from focdistsFromCsv.

source_dir

Directory to store the distance matrix in

lemma

Name of the lemma, for the filename

suffix

Suffix to add after [lemma].models.dist in the filename

Value

Distance matrix as a dist object.