maciejkula / glove-python

Toy Python implementation of http://www-nlp.stanford.edu/projects/glove/
Apache License 2.0
1.25k stars 319 forks source link

What is the purpose of having the transform_paragraph in transform_paragraph? #88

Open domoretrix opened 6 years ago

domoretrix commented 6 years ago

I see that in glove.py there is a transform_paragraph function, which as the name suggests transforms a paragraph into a vector. However, at the end of the function I see it calling another transform_paragraph, this time from glove_cython.pyx. What is the purpose of this last call, it seems to be working without the call just as well.