dynamic-learning-model 3.5.2__tar.gz → 4.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,43 +1,27 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dynamic-learning-model
3
- Version: 3.5.2
4
- Summary: A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.
5
- Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
6
- Author: Vignesh Thondikulam
7
- Author-email: vignesh.tho2006@gmail.com
3
+ Version: 4.0.2
4
+ Summary: A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes.
5
+ Author-email: Vignesh Thondikulam <vignesh.tho2006@gmail.com>
8
6
  License: MIT
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Operating System :: OS Independent
11
- Classifier: License :: OSI Approved :: MIT License
12
- Requires-Python: >=3.12,<3.13
7
+ Project-URL: Homepage, https://github.com/VigneshT24/Dynamic_Learning_Model
8
+ Project-URL: Repository, https://github.com/VigneshT24/Dynamic_Learning_Model
9
+ Requires-Python: >=3.12
13
10
  Description-Content-Type: text/markdown
14
11
  License-File: LICENSE
15
- Requires-Dist: nltk
16
- Requires-Dist: spacy
17
- Requires-Dist: better_profanity
18
- Requires-Dist: word2number
19
- Requires-Dist: transformers
20
- Requires-Dist: hf_xet
21
- Dynamic: author
22
- Dynamic: author-email
23
- Dynamic: classifier
24
- Dynamic: description
25
- Dynamic: description-content-type
26
- Dynamic: home-page
27
- Dynamic: license
12
+ Requires-Dist: spacy>=3.7
13
+ Requires-Dist: transformers>=4.30
14
+ Requires-Dist: torch>=2.0
15
+ Requires-Dist: better-profanity>=0.7
16
+ Requires-Dist: nltk>=3.8
28
17
  Dynamic: license-file
29
- Dynamic: requires-dist
30
- Dynamic: requires-python
31
- Dynamic: summary
32
18
 
33
- ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
34
- ![SQLite](https://img.shields.io/badge/SQLite-003B57?style=flat-square&logo=SQLite&logoColor=white)
35
- ![HuggingFace Transformers](https://img.shields.io/badge/-HuggingFace-3B4252?style=flat&logo=huggingface&logoColor=)
36
-
37
- ![DLM Logo](https://ik.imagekit.io/cqhzoyggfm/DLM%20Logo.png?updatedAt=1759635222204)
38
-
39
- # Dynamic Learning Model
40
- **ABOUT**:
19
+ <table>
20
+ <tr>
21
+ <td><img src="https://ik.imagekit.io/cqhzoyggfm/DLM%20Logo.png?updatedAt=1759635222204" width="90"></td>
22
+ <td><h1>Dynamic Learning Model</h1></td>
23
+ </tr>
24
+ </table>
41
25
 
42
26
  The Dynamic Learning Model (DLM) is a hybrid AI system designed to learn, adapt, and intelligently respond to user queries. It combines natural language understanding with structured reasoning, continually improving as it is trained.
43
27
 
@@ -66,7 +50,7 @@ Whether you're building a student support bot, a domain-specific assistant, or a
66
50
  ```bash
67
51
  pip install dynamic-learning-model
68
52
  ```
69
- * ***Python 3.12.0 is required to use this bot in your program.***
53
+ * ***Python 3.12.0 or higher is required to use this bot in your program.***
70
54
 
71
55
  ('learn' mode [training queries])
72
56
  ```python
@@ -1,11 +1,9 @@
1
- ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
2
- ![SQLite](https://img.shields.io/badge/SQLite-003B57?style=flat-square&logo=SQLite&logoColor=white)
3
- ![HuggingFace Transformers](https://img.shields.io/badge/-HuggingFace-3B4252?style=flat&logo=huggingface&logoColor=)
4
-
5
- ![DLM Logo](https://ik.imagekit.io/cqhzoyggfm/DLM%20Logo.png?updatedAt=1759635222204)
6
-
7
- # Dynamic Learning Model
8
- **ABOUT**:
1
+ <table>
2
+ <tr>
3
+ <td><img src="https://ik.imagekit.io/cqhzoyggfm/DLM%20Logo.png?updatedAt=1759635222204" width="90"></td>
4
+ <td><h1>Dynamic Learning Model</h1></td>
5
+ </tr>
6
+ </table>
9
7
 
10
8
  The Dynamic Learning Model (DLM) is a hybrid AI system designed to learn, adapt, and intelligently respond to user queries. It combines natural language understanding with structured reasoning, continually improving as it is trained.
11
9
 
@@ -34,7 +32,7 @@ Whether you're building a student support bot, a domain-specific assistant, or a
34
32
  ```bash
35
33
  pip install dynamic-learning-model
36
34
  ```
37
- * ***Python 3.12.0 is required to use this bot in your program.***
35
+ * ***Python 3.12.0 or higher is required to use this bot in your program.***
38
36
 
39
37
  ('learn' mode [training queries])
40
38
  ```python
@@ -0,0 +1,20 @@
1
+ import nltk
2
+ import spacy
3
+ from spacy.cli import download as spacy_download
4
+
5
+ def _ensure_nltk_data():
6
+ try:
7
+ nltk.data.find('corpora/names')
8
+ except LookupError:
9
+ nltk.download('names', quiet=True)
10
+
11
+ def _ensure_spacy_model(model_name="en_core_web_lg"):
12
+ try:
13
+ spacy.load(model_name)
14
+ except OSError:
15
+ spacy_download(model_name)
16
+
17
+ _ensure_nltk_data()
18
+ _ensure_spacy_model()
19
+
20
+ from .DLM import DLM
@@ -1,43 +1,27 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dynamic-learning-model
3
- Version: 3.5.2
4
- Summary: A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.
5
- Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
6
- Author: Vignesh Thondikulam
7
- Author-email: vignesh.tho2006@gmail.com
3
+ Version: 4.0.2
4
+ Summary: A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes.
5
+ Author-email: Vignesh Thondikulam <vignesh.tho2006@gmail.com>
8
6
  License: MIT
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Operating System :: OS Independent
11
- Classifier: License :: OSI Approved :: MIT License
12
- Requires-Python: >=3.12,<3.13
7
+ Project-URL: Homepage, https://github.com/VigneshT24/Dynamic_Learning_Model
8
+ Project-URL: Repository, https://github.com/VigneshT24/Dynamic_Learning_Model
9
+ Requires-Python: >=3.12
13
10
  Description-Content-Type: text/markdown
14
11
  License-File: LICENSE
15
- Requires-Dist: nltk
16
- Requires-Dist: spacy
17
- Requires-Dist: better_profanity
18
- Requires-Dist: word2number
19
- Requires-Dist: transformers
20
- Requires-Dist: hf_xet
21
- Dynamic: author
22
- Dynamic: author-email
23
- Dynamic: classifier
24
- Dynamic: description
25
- Dynamic: description-content-type
26
- Dynamic: home-page
27
- Dynamic: license
12
+ Requires-Dist: spacy>=3.7
13
+ Requires-Dist: transformers>=4.30
14
+ Requires-Dist: torch>=2.0
15
+ Requires-Dist: better-profanity>=0.7
16
+ Requires-Dist: nltk>=3.8
28
17
  Dynamic: license-file
29
- Dynamic: requires-dist
30
- Dynamic: requires-python
31
- Dynamic: summary
32
18
 
33
- ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
34
- ![SQLite](https://img.shields.io/badge/SQLite-003B57?style=flat-square&logo=SQLite&logoColor=white)
35
- ![HuggingFace Transformers](https://img.shields.io/badge/-HuggingFace-3B4252?style=flat&logo=huggingface&logoColor=)
36
-
37
- ![DLM Logo](https://ik.imagekit.io/cqhzoyggfm/DLM%20Logo.png?updatedAt=1759635222204)
38
-
39
- # Dynamic Learning Model
40
- **ABOUT**:
19
+ <table>
20
+ <tr>
21
+ <td><img src="https://ik.imagekit.io/cqhzoyggfm/DLM%20Logo.png?updatedAt=1759635222204" width="90"></td>
22
+ <td><h1>Dynamic Learning Model</h1></td>
23
+ </tr>
24
+ </table>
41
25
 
42
26
  The Dynamic Learning Model (DLM) is a hybrid AI system designed to learn, adapt, and intelligently respond to user queries. It combines natural language understanding with structured reasoning, continually improving as it is trained.
43
27
 
@@ -66,7 +50,7 @@ Whether you're building a student support bot, a domain-specific assistant, or a
66
50
  ```bash
67
51
  pip install dynamic-learning-model
68
52
  ```
69
- * ***Python 3.12.0 is required to use this bot in your program.***
53
+ * ***Python 3.12.0 or higher is required to use this bot in your program.***
70
54
 
71
55
  ('learn' mode [training queries])
72
56
  ```python
@@ -1,7 +1,6 @@
1
1
  LICENSE
2
2
  README.md
3
3
  pyproject.toml
4
- setup.py
5
4
  dlm/DLM.py
6
5
  dlm/DLM_Compute_Model.py
7
6
  dlm/DLM_Memory_Model.py
@@ -0,0 +1,5 @@
1
+ spacy>=3.7
2
+ transformers>=4.30
3
+ torch>=2.0
4
+ better-profanity>=0.7
5
+ nltk>=3.8
@@ -0,0 +1,25 @@
1
+ [build-system]
2
+ requires = ["setuptools>=42", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "dynamic-learning-model"
7
+ version = "4.0.2"
8
+ description = "A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes."
9
+ readme = "README.md"
10
+ requires-python = ">=3.12"
11
+ license = { text = "MIT" }
12
+ authors = [
13
+ { name = "Vignesh Thondikulam", email = "vignesh.tho2006@gmail.com" }
14
+ ]
15
+ dependencies = [
16
+ "spacy>=3.7",
17
+ "transformers>=4.30",
18
+ "torch>=2.0",
19
+ "better-profanity>=0.7",
20
+ "nltk>=3.8",
21
+ ]
22
+
23
+ [project.urls]
24
+ Homepage = "https://github.com/VigneshT24/Dynamic_Learning_Model"
25
+ Repository = "https://github.com/VigneshT24/Dynamic_Learning_Model"
@@ -1 +0,0 @@
1
- from .DLM import DLM
@@ -1,6 +0,0 @@
1
- nltk
2
- spacy
3
- better_profanity
4
- word2number
5
- transformers
6
- hf_xet
@@ -1,3 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools>=42", "wheel"]
3
- build-backend = "setuptools.build_meta"
@@ -1,32 +0,0 @@
1
- from setuptools import setup, find_packages
2
-
3
- with open('README.md', 'r', encoding='utf-8') as f:
4
- long_description = f.read()
5
-
6
- setup(
7
- name='dynamic-learning-model',
8
- version='3.5.2',
9
- author='Vignesh Thondikulam',
10
- author_email='vignesh.tho2006@gmail.com',
11
- description='A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.',
12
- long_description=long_description,
13
- long_description_content_type='text/markdown',
14
- url='https://github.com/VigneshT24/Dynamic_Learning_Model',
15
- packages=find_packages(),
16
- include_package_data=True,
17
- install_requires=[
18
- 'nltk',
19
- 'spacy',
20
- 'better_profanity',
21
- 'word2number',
22
- 'transformers',
23
- 'hf_xet'
24
- ],
25
- classifiers=[
26
- 'Programming Language :: Python :: 3',
27
- 'Operating System :: OS Independent',
28
- 'License :: OSI Approved :: MIT License',
29
- ],
30
- python_requires='>=3.12,<3.13',
31
- license='MIT',
32
- )