blob: 50283389107bddb15ee8fa91b3b01d1acfd72f6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchPypi,
pymorphy2,
razdel,
navec,
slovnet,
yargy,
ipymarkup,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "natasha";
version = "1.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Rgguazgq06a8B9jeRnfHD5VTR+Xrd+8OCsQUfaGLEq0=";
};
propagatedBuildInputs = [
pymorphy2
navec
razdel
slovnet
yargy
ipymarkup
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests/" ];
pythonImportsCheck = [ "natasha" ];
meta = with lib; {
description = "NLP framework for Russian language";
homepage = "https://github.com/natasha/natasha";
license = licenses.mit;
maintainers = with maintainers; [ npatsakula ];
};
}
|