Commit Graph

6 Commits

Author SHA1 Message Date
Daniël de Kok
9b55e5bfcb python3Packages.spacy_models: use pythonImportCheck
For each model, check whether we can actually import the model after
building.
2020-08-18 11:10:47 -07:00
Daniël de Kok
4059ac951b pythonPackages.spacy_models: add more models
This change adds the missing language-specific spaCy models:

da_core_news_lg, da_core_news_md, da_core_news_sm, de_core_news_lg,
el_core_news_lg, es_core_news_lg, fr_core_news_lg, it_core_news_lg,
it_core_news_md, lt_core_news_lg, lt_core_news_md, nb_core_news_lg,
nb_core_news_md, nl_core_news_lg, nl_core_news_md, pl_core_news_lg,
pl_core_news_md, pl_core_news_sm, pt_core_news_lg, pt_core_news_md,
ro_core_news_sm, ro_core_news_md, ro_core_news_lg, zh_core_web_lg,
zh_core_web_md, zh_core_web_sm

I also checked the licenses and fixed them where necessary.
2020-06-27 23:03:39 -07:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Frederik Rietdijk
4f8ad9f7eb python.pkgs.spacy_models: fix eval 2017-09-16 12:21:20 +02:00
Rodney Lorrimar
fad89eda77 pythonPackages.spacy: add models data attr set
Model                   Version
es_core_web_md          1.0.0
fr_depvec_web_lg        1.0.0
en_core_web_md          1.2.1
en_depent_web_md        1.2.1
en_core_web_sm          1.2.0
de_core_news_md         1.0.0
en_vectors_glove_md     1.0.0
2017-09-16 09:23:17 +01:00