Understanding the functionality and dimensionality of vector embeddings : the distributional hypothesis, the pairwise inner product loss and its applications