livekit-plugins-nltk 0.7.1__py3-none-any.whl → 0.7.4__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.
@@ -32,9 +32,18 @@ class NltkPlugin(Plugin):
32
32
 
33
33
  def download_files(self):
34
34
  try:
35
- _ = nltk.data.find("tokenizers/punkt")
35
+ _ = nltk.data.find("tokenizers/punkt_tab")
36
36
  except LookupError:
37
- nltk.download("punkt")
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
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "0.7.1"
15
+ __version__ = "0.7.4"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: livekit-plugins-nltk
3
- Version: 0.7.1
3
+ Version: 0.7.4
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,18 @@ 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 >=0.8.0.dev0
22
- Requires-Dist: nltk <4,>=3
21
+ Requires-Dist: livekit-agents<1.0.0,>=0.12.16
22
+ Requires-Dist: nltk<4,>=3.9.1
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: description-content-type
26
+ Dynamic: home-page
27
+ Dynamic: keywords
28
+ Dynamic: license
29
+ Dynamic: project-url
30
+ Dynamic: requires-dist
31
+ Dynamic: requires-python
32
+ Dynamic: summary
23
33
 
24
34
  # LiveKit Plugins NLTK
25
35
 
@@ -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=UblqPqnLJ1iqLGElaqb_uNunR14phGN2btPpCGRFrYk,600
6
+ livekit_plugins_nltk-0.7.4.dist-info/METADATA,sha256=bhBYcLgCPdl3bK-lypiR7oTav84m7cC5lptyMWN7Z1I,1378
7
+ livekit_plugins_nltk-0.7.4.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
8
+ livekit_plugins_nltk-0.7.4.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
9
+ livekit_plugins_nltk-0.7.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.2.0)
2
+ Generator: setuptools (75.8.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -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,,