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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright (C) 2013 Radim Rehurek <me@radimrehurek.com> | |
# Licensed under the GNU LGPL v2.1 - http://www.gnu.org/licenses/lgpl.html | |
""" | |
Produce word vectors with deep learning via word2vec's "skip-gram and CBOW models", using either | |
hierarchical softmax or negative sampling [1]_ [2]_. |