A Cython Wrapped GloVe (Global Vectors for Word Representation)
Pronounciation: \ ˈkrü-sə-bəl \
- a vessel of a very refractory material used for melting...
- a severe test
- a vessel of a very refractory (see refractory entry 1 sense 3) material (such as porcelain) used for melting and calcining a substance that requires a high degree of heat
Synonyms: gauntlet, ...
This library aims to provide the GloVe algorithm in a nearly-unaltered format relative to its original distribution by stanfordnlp.
These altered C sources are then wrapped with Cython to provide "native extensions" in the Python runtime.
gcc and cython installed.
To test this library locally:
- clone the repo
python setup.py build_ext -i
PYTHONPATH=. python test/test_glove.py
- examine the outputs!
You can change the corpus variable in
test_glove.py to point to any corpus you have locally.