getTermDisp Calculate the term dispensability score, defined as the semantic similarity threshold a term was assigned to a cluster (namely, the similarity of a term to the cluster representative term).

getTermDisp(simMatrix, cluster, clusterRep)

Arguments

simMatrix

a (square) similarity matrix

cluster

the cluster assignment for each term

clusterRep

the cluster representative term

Value

a vector of term dispensability scores