python3Packages.pymorphy2: init at 0.9.1
Morphological analyzer (POS tagger + inflection engine) for Russian and Ukrainian.
This commit is contained in:
parent
131f5f0b80
commit
28e8b89cec
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
|
, dawg-python
|
||||||
|
, docopt
|
||||||
|
, pymorphy2-dicts-ru
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pymorphy2";
|
||||||
|
version = "0.9.1";
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-hsRHFX3uLrI0HvvkU44SgadUdWuhqjLad6iWFMWLVgw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
dawg-python
|
||||||
|
docopt
|
||||||
|
pymorphy2-dicts-ru
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pymorphy2" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Morphological analyzer/inflection engine for Russian and Ukrainian";
|
||||||
|
homepage = "https://github.com/kmike/pymorphy2";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ danieldk ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5873,6 +5873,8 @@ in {
|
||||||
|
|
||||||
pymongo = callPackage ../development/python-modules/pymongo { };
|
pymongo = callPackage ../development/python-modules/pymongo { };
|
||||||
|
|
||||||
|
pymorphy2 = callPackage ../development/python-modules/pymorphy2 { };
|
||||||
|
|
||||||
pymorphy2-dicts-ru = callPackage ../development/python-modules/pymorphy2/dicts-ru.nix { };
|
pymorphy2-dicts-ru = callPackage ../development/python-modules/pymorphy2/dicts-ru.nix { };
|
||||||
|
|
||||||
pympler = callPackage ../development/python-modules/pympler { };
|
pympler = callPackage ../development/python-modules/pympler { };
|
||||||
|
|
Loading…
Reference in New Issue