2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, PyStemmer, fetchPypi }:
|
2018-07-23 09:39:18 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "snowballstemmer";
|
2021-03-24 09:28:28 +00:00
|
|
|
version = "2.1.0";
|
2018-07-23 09:39:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:28 +00:00
|
|
|
sha256 = "e997baa4f2e9139951b6f4c631bad912dfd3c792467e2f03d7239464af90e914";
|
2018-07-23 09:39:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ PyStemmer ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-23 09:39:18 +00:00
|
|
|
description = "16 stemmer algorithms (15 + Poerter English stemmer) generated from Snowball algorithms";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://sigal.saimon.org/en/latest/index.html";
|
2018-07-23 09:39:18 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|