updated the code so that it would run even with extremely large N (number of closest words), such as 5000
Attach a file by drag & drop or click to upload