node-word2vec icon indicating copy to clipboard operation
node-word2vec copied to clipboard

Inform the user when file extension is not handled via `error` in `callback`

Open kungfooman opened this issue 2 years ago • 0 comments

I downloaded a file which used the extension .vec for the ASCII vectors instead of .txt and it just silently failed, which is not a good user experience.

So this PR will warn the user with a proper error message (that the file extension should be either .bin or .txt).

kungfooman avatar Sep 05 '22 15:09 kungfooman