livekit-plugins-nltk 0.7.1__py3-none-any.whl → 0.7.3__py3-none-any.whl
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.
- livekit/plugins/nltk/__init__.py +11 -2
- livekit/plugins/nltk/version.py +1 -1
- {livekit_plugins_nltk-0.7.1.dist-info → livekit_plugins_nltk-0.7.3.dist-info}/METADATA +3 -3
- livekit_plugins_nltk-0.7.3.dist-info/RECORD +9 -0
- {livekit_plugins_nltk-0.7.1.dist-info → livekit_plugins_nltk-0.7.3.dist-info}/WHEEL +1 -1
- livekit_plugins_nltk-0.7.1.dist-info/RECORD +0 -9
- {livekit_plugins_nltk-0.7.1.dist-info → livekit_plugins_nltk-0.7.3.dist-info}/top_level.txt +0 -0
livekit/plugins/nltk/__init__.py
CHANGED
@@ -32,9 +32,18 @@ class NltkPlugin(Plugin):
|
|
32
32
|
|
33
33
|
def download_files(self):
|
34
34
|
try:
|
35
|
-
_ = nltk.data.find("tokenizers/
|
35
|
+
_ = nltk.data.find("tokenizers/punkt_tab")
|
36
36
|
except LookupError:
|
37
|
-
nltk.download("
|
37
|
+
nltk.download("punkt_tab")
|
38
38
|
|
39
39
|
|
40
40
|
Plugin.register_plugin(NltkPlugin())
|
41
|
+
|
42
|
+
# Cleanup docs of unexported modules
|
43
|
+
_module = dir()
|
44
|
+
NOT_IN_ALL = [m for m in _module if m not in __all__]
|
45
|
+
|
46
|
+
__pdoc__ = {}
|
47
|
+
|
48
|
+
for n in NOT_IN_ALL:
|
49
|
+
__pdoc__[n] = False
|
livekit/plugins/nltk/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: livekit-plugins-nltk
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.3
|
4
4
|
Summary: Agent Framework plugin for NLTK-based text processing.
|
5
5
|
Home-page: https://github.com/livekit/agents
|
6
6
|
License: Apache-2.0
|
@@ -18,8 +18,8 @@ Classifier: Programming Language :: Python :: 3.10
|
|
18
18
|
Classifier: Programming Language :: Python :: 3 :: Only
|
19
19
|
Requires-Python: >=3.9.0
|
20
20
|
Description-Content-Type: text/markdown
|
21
|
-
Requires-Dist: livekit-agents
|
22
|
-
Requires-Dist: nltk
|
21
|
+
Requires-Dist: livekit-agents>=0.11
|
22
|
+
Requires-Dist: nltk<4,>=3.9.1
|
23
23
|
|
24
24
|
# LiveKit Plugins NLTK
|
25
25
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
livekit/plugins/nltk/__init__.py,sha256=CBAZJKoRyp7wTV-u7Qp1YA8dHLddRDCgJ6eVlhJiPLw,1295
|
2
|
+
livekit/plugins/nltk/log.py,sha256=12Ta0eunqKM3KyIlyzp2QFyO_Y-PBLAtyjEWDiuJdKk,67
|
3
|
+
livekit/plugins/nltk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
livekit/plugins/nltk/sentence_tokenizer.py,sha256=IHYttpaNiGdMKUPRGWCz4zIFbJAK-1AXkoG5uNhBIR4,2170
|
5
|
+
livekit/plugins/nltk/version.py,sha256=yJeG0VwiekDJAk7GHcIAe43ebagJgloe-ZsqEGZnqzE,600
|
6
|
+
livekit_plugins_nltk-0.7.3.dist-info/METADATA,sha256=GZ6zm5PQEsrj2pg9svxamEbhAiZ-VKFHdjWKtj5uULs,1153
|
7
|
+
livekit_plugins_nltk-0.7.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
8
|
+
livekit_plugins_nltk-0.7.3.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
|
9
|
+
livekit_plugins_nltk-0.7.3.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
livekit/plugins/nltk/__init__.py,sha256=XF5kkCodpLAK5kQ_s_Dt9vIrRehvQpHtlOH4ixG1ZYI,1118
|
2
|
-
livekit/plugins/nltk/log.py,sha256=12Ta0eunqKM3KyIlyzp2QFyO_Y-PBLAtyjEWDiuJdKk,67
|
3
|
-
livekit/plugins/nltk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
livekit/plugins/nltk/sentence_tokenizer.py,sha256=IHYttpaNiGdMKUPRGWCz4zIFbJAK-1AXkoG5uNhBIR4,2170
|
5
|
-
livekit/plugins/nltk/version.py,sha256=JOBYrlKcxbTTRXkUKH0921GsmV-i71_KHczg2cgQiLc,600
|
6
|
-
livekit_plugins_nltk-0.7.1.dist-info/METADATA,sha256=1KW0sf-wW6BbO9Cm1pe2DvD3j-WmpaAbth5VARwHeUs,1157
|
7
|
-
livekit_plugins_nltk-0.7.1.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
|
8
|
-
livekit_plugins_nltk-0.7.1.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
|
9
|
-
livekit_plugins_nltk-0.7.1.dist-info/RECORD,,
|
File without changes
|