2016-08-25 09:30:47 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "kytea-${version}";
|
|
|
|
version = "0.4.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-28 23:26:26 +00:00
|
|
|
url = "http://www.phontron.com/kytea/download/${name}.tar.gz";
|
|
|
|
sha256 = "0ilzzwn5vpvm65bnbyb9f5rxyxy3jmbafw9w0lgl5iad1ka36jjk";
|
2016-08-25 09:30:47 +01:00
|
|
|
};
|
|
|
|
|
2018-05-29 18:09:28 +01:00
|
|
|
patches = [ ./gcc-O3.patch ];
|
|
|
|
|
2016-08-25 09:30:47 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.phontron.com/kytea/;
|
|
|
|
description = "General toolkit developed for analyzing text";
|
|
|
|
|
|
|
|
longDescription = ''
|
2018-05-29 18:09:28 +01:00
|
|
|
A general toolkit developed for analyzing text, with a focus on Japanese,
|
2016-08-25 09:30:47 +01:00
|
|
|
Chinese and other languages requiring word or morpheme segmentation.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = licenses.asl20;
|
|
|
|
|
2017-02-28 23:26:26 +00:00
|
|
|
maintainers = with maintainers; [ ericsagnes ndowens ];
|
2016-08-25 09:30:47 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|