aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-10-27 15:27:59 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-10-29 02:34:17 +0000
commit5d409d6f6dee7e0d66675f0a4476b341d9b332d7 (patch)
tree5699c9c1b4f040bd410b0b7bafc05f0e2755b11c
parent6f55397bb27ea9fb2f62f96accb0251a3e96493f (diff)
downloadports-5d409d6f6dee7e0d66675f0a4476b341d9b332d7.tar.gz
ports-5d409d6f6dee7e0d66675f0a4476b341d9b332d7.zip
textproc/py-Morfessor: New port: Discover the regularities behind word forming in natural languages
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-Morfessor/Makefile18
-rw-r--r--textproc/py-Morfessor/distinfo3
-rw-r--r--textproc/py-Morfessor/pkg-descr9
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 36705da9f744..abd0a577d6f6 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1241,6 +1241,7 @@
SUBDIR += pup
SUBDIR += py-Chameleon
SUBDIR += py-CommonMark
+ SUBDIR += py-Morfessor
SUBDIR += py-QDarkStyle
SUBDIR += py-Tempita
SUBDIR += py-acora
diff --git a/textproc/py-Morfessor/Makefile b/textproc/py-Morfessor/Makefile
new file mode 100644
index 000000000000..04c91770c01c
--- /dev/null
+++ b/textproc/py-Morfessor/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= Morfessor
+PORTVERSION= 2.0.6
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Discover the regularities behind word forming in natural languages
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= distutils concurrent autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-Morfessor/distinfo b/textproc/py-Morfessor/distinfo
new file mode 100644
index 000000000000..c29d9ca395d1
--- /dev/null
+++ b/textproc/py-Morfessor/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1635347898
+SHA256 (Morfessor-2.0.6.tar.gz) = bb3beac234341724c5f640f65803071f62373a50dba854d5a398567f9aefbab2
+SIZE (Morfessor-2.0.6.tar.gz) = 34341
diff --git a/textproc/py-Morfessor/pkg-descr b/textproc/py-Morfessor/pkg-descr
new file mode 100644
index 000000000000..8bc323602f65
--- /dev/null
+++ b/textproc/py-Morfessor/pkg-descr
@@ -0,0 +1,9 @@
+The goal of the Morpho project is to develop unsupervised data-driven methods
+that discover the regularities behind word forming in natural languages. In
+particular, we are focussing on the discovery of morphemes, which are the
+primitive units of syntax, the smallest individually meaningful elements in the
+utterances of a language. Morphemes are important in automatic generation and
+recognition of a language, especially in languages in which words may have many
+different inflected forms.
+
+WWW: http://morpho.aalto.fi/projects/morpho/