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