git: 5d409d6f6dee - main - textproc/py-Morfessor: New port: Discover the regularities behind word forming in natural languages

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 29 Oct 2021 02:36:44 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d409d6f6dee7e0d66675f0a4476b341d9b332d7

commit 5d409d6f6dee7e0d66675f0a4476b341d9b332d7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-10-27 15:27:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-10-29 02:34:17 +0000

    textproc/py-Morfessor: New port: Discover the regularities behind word forming in natural languages
---
 textproc/Makefile               |  1 +
 textproc/py-Morfessor/Makefile  | 18 ++++++++++++++++++
 textproc/py-Morfessor/distinfo  |  3 +++
 textproc/py-Morfessor/pkg-descr |  9 +++++++++
 4 files changed, 31 insertions(+)

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/