resources.wrappers.FileJsonKeras.gate-lf-python-data.tests.trial_embs_gensim.py Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of learningframework Show documentation
Show all versions of learningframework Show documentation
A GATE plugin that provides many different machine learning
algorithms for a wide range of NLP-related machine learning tasks like
text classification, tagging, or chunking.
import gensim
import sys
from gensim.models import KeyedVectors
model = KeyedVectors.load_word2vec_format(sys.argv[1])