Athena is a library and collection of programs implementing streaming embeddings with the space-saving algorithm. Code released for the "Streaming Word Embeddings with the Space-Saving Algorithm" (arXiv:1704.07463) manuscript can be found in the arxiv-1704-07463v1 tag.
Athena comprises a C++ library and a few programs.
The source code is located in src/.
To build the library by itself run make lib.
To build the programs run make main. The
compiled library and programs will be placed in build/lib/.
The test suite requires Google Test and Google Mock. On Linux or
OS X, install cmake (e.g., with sudo yum install cmake or
sudo apt-get install cmake) and then run the following bash shell
code to install Google Test and Google Mock:
git clone https://github.com/google/googletest.git && \
mkdir gtest-build && \
pushd gtest-build && \
cmake ../googletest/googletest && \
make && \
sudo mv libgtest.a libgtest_main.a /usr/local/lib/ && \
sudo mv ../googletest/googletest/include/gtest \
/usr/local/include/ && \
popd && \
mkdir gmock-build && \
pushd gmock-build && \
cmake ../googletest/googlemock && \
make && \
sudo mv libgmock.a libgmock_main.a /usr/local/lib/ && \
sudo mv ../googletest/googlemock/include/gmock \
/usr/local/include/ && \
popd && \
rm -rf googletest gtest-build gmock-buildNow to run the tests do: make test
- Walker (1977)
- Wikipedia alias method article
- Vitter (1985)
- Metwally, Agrawal, and El Abaddi (2005)
- Cormode (2009) slides
- Knoll space saving implementation article
- D'Elia (2013) (Section 3)
- Mikolov, Sutskever, Chen, Corrado, and Dean (2013)
- Levy, Goldberg, and Dagan (2015)
- Mikolov, Sutskever, Chen, Corrado, and Dean (2013) word2vec implementation
- Řehůřek gensim word2vec implementation article (part 1)
- Řehůřek gensim word2vec implementation article (part 2)
- Řehůřek gensim word2vec implementation article (part 3)
Copyright 2012-2017 Johns Hopkins University HLTCOE. All rights reserved. This software is released under the 2-clause BSD license. See LICENSE in this directory for more information.