Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GloVe wrapper to VectorSpace Model #22

Open
jdchoi77 opened this issue Jul 12, 2018 · 1 comment
Open

GloVe wrapper to VectorSpace Model #22

jdchoi77 opened this issue Jul 12, 2018 · 1 comment
Assignees

Comments

@jdchoi77
Copy link
Member

Add the GloVe wrapper of VectorSpaceModel to https://github.com/elitcloud/elit/blob/develop/elit/lexicon.py.

@imgarylai
Copy link
Member

elit/elit/vsm.py

Lines 167 to 179 in 20aa578

class GloVe(VectorSpaceModel):
def __init__(self, filepath):
"""
:param filepath: the path to the binary file containing word embeddings.
:type filepath: str
"""
# TODO: to be completed
super(GloVe, self).__init__(None, 0)
pass
def _emb(self, key):
# TODO: to be completed
return

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants