def test_build_index_fasttext_en():
    index = get_embeddings_index('fasttext.wn.1M.300d', 300, cache=False)
    assert (index['a'] is not None)
    assert (index['and'] is not None)
def test_build_index_fasttext_cc():
    index = get_embeddings_index('fasttext.cc.en', 300, cache=False)
    assert (index['a'] is not None)
    assert (index['and'] is not None)
def test_build_index_glove():
    index = get_embeddings_index('glove.6B.50d', 50, cache=False)
    assert (index['a'] is not None)
    assert (index['and'] is not None)
def test_build_index_fasttext_wiki():
    index = get_embeddings_index('fasttext.wiki.simple', 300, cache=False)
    assert (index['a'] is not None)
    assert (index['and'] is not None)