Subject: [PATCH 06/19] gnu: Add python-padatious.

From: phodina <[email-masked]>
Date: Sat, 18 Sep 2021 19:00:27 +0000

* gnu/packages/python-xyz.scm (python-padatious): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 072bd121d5..1b1a26f603 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -142,6 +142,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dbm)
+  #:use-module (gnu packages digest)
   #:use-module (gnu packages djvu)
   #:use-module (gnu packages docker)
   #:use-module (gnu packages enchant)
@@ -13795,6 +13796,27 @@ anymore.")
     (description "Converts sentences into one big chunk of regex. Each intent is a single compiled regex matcher.")
     (license license:expat)))

+(define-public python-padatious
+  (package
+    (name "python-padatious")
+    (version "0.4.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "padatious" version))
+       (sha256
+        (base32
+         "0xbgf75kxclacgairid8m948hrrngcxhykr1wkvav32fp58z4wg4"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-fann2" ,python-fann2)
+       ("python-padaos" ,python-padaos)
+       ("python-xxhash" ,python-xxhash)))
+    (home-page "https://github.com/MycroftAI/padatious")
+    (synopsis "Neural network intent parser")
+    (description "A neural network intent parser")
+    (license license:asl2.0)))
+
 (define-public python2-pathlib2
   (package
     (name "python2-pathlib2")
--
2.32.0