Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Bin file Turkish in old format? #222

Closed
ErnstTmp opened this issue May 18, 2017 · 2 comments
Closed

Bin file Turkish in old format? #222

ErnstTmp opened this issue May 18, 2017 · 2 comments

Comments

@ErnstTmp
Copy link

Hello,
in order to read them into fasttext.py , which can currentyy only read the old format, I would need the old version of the pretrained word embeddings in Turkish. Is this file still available?

Thanks and kind regards
Ernst

@prakhar2b
Copy link

prakhar2b commented May 19, 2017

@ErnstTmp gensim can load both the new and old format of the pretrained (or any) fastText modelled word embeddings. Please look into this PR (will be merged asap)

The command for loading the Turkish pretrained vector in gensim is-

import os
from gensim.models.wrappers import FastText
model = FastText.load_fasttext_format(os.path.abspath('wiki.tr')) # directory where bin & vec file is located

UPDATE - The PR mentioned above is merged now.
cc @tmylk @jayantj

@ErnstTmp
Copy link
Author

@prakhar2b thank you very much for your help, that are good news!
I will use gensim then!

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

No branches or pull requests

3 participants