Module Owl_nlp_similarity

type t =
| Cosine
| Euclidean
| KL_D
val to_string : t -> string
val kl_distance : 'a -> 'b -> float
val cosine_distance : ('a * float) array -> ('b * float) array -> float
val inner_product : ('a * float) array -> ('b * float) array -> float
val inner_product_fast : ('a * float) array -> ('b * float) array -> float
val euclidean_distance : ('a * float) array -> ('b * float) array -> float
val distance : t -> ('a * float) array -> ('a * float) array -> float