This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"net/http" | |
"sync" | |
"time" | |
"github.com/RichardKnop/machinery/v1/tasks" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Tests gensim with the Google News Word2Vec model | |
""" | |
import gensim | |
import numpy | |
from scipy import spatial | |
M = gensim.models.KeyedVectors.load_word2vec_format( | |
"./GoogleNews-vectors-negative300.bin", binary=True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************** | |
* Angad Nadkarni's note: * | |
* Resist the temptation to 'optimize' my hack * | |
******************************************************/ | |
// | |
// This file is part of Smoothie. | |
// | |
// Copyright (C) 2013-2015 Flowy Apps GmbH <[email protected]> |