elitcloud / elit

🔠 Evolution of Language and Information Technology
https://elit.cloud
Other
47 stars 7 forks source link

Path should be passed to Embedding #28

Closed imgarylai closed 5 years ago

imgarylai commented 5 years ago

https://github.com/elitcloud/elit/blob/2840f0de508387be18b1bd00c93dbff0f293bfc4/elit/nlp/tagger/sequence_tagger_model.py#L173-L183

Since elit can be installed through pip or run on server, the word embedding path is not always in the same directory of project.

imgarylai commented 5 years ago

I added a hotfix for temporarily sol.

hankcs commented 5 years ago

Yes, I'll store that information along with model file.