r/Python - Text Matching using Cosine Similarity

#artificialintelligence 

It stops unexpectedly when it actually starts doing the comparison and the specifics on this study case.