Vector_Similarity
 Python, Java implementation of TSSS called from "A Hybrid Geometric Approach for Measuring Similarity Level Among Documents and Document Clustering"
 Also, I have summarized "A Hybrid Geometric Approach for Measuring Similarity Level Among Documents and Document Clustering"
 I recommend TSSS instead of Cosine distance or Euclidean distance.
The reasons are...
Cosine drawbacks
Euclidean drawbacks
Triangle's Area Similarity (TS)
Sector's Area Similarity (SS)
TSSS
Results
Conclusion

In biggest dataset, TSSS outperforms Cosine with a significant difference, while in other datasets TSSS outperforms Cosine slightly

Therefore, the significant better result of TSSS in biggest dataset justifies the robustness and reliability of the model for big data and real world data where the variety of documents/texts are high
Reference
[1] A Hybrid Geometric Approach for Measuring Similarity Level Among Documents and Document Clustering [link1] [link2] [View Article]