VectorSpace typedef

VectorSpace = Map<String, num>

Type definition for a hashmap of term to value, when used as a n-dimensional vector in calculating cosine similarity between documents.

Alias for Map<String, num>.

Implementation

typedef VectorSpace = Map<String, num>;