UniTok 3.5.2__tar.gz → 3.5.3__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.
Files changed (32) hide show
  1. {UniTok-3.5.2 → UniTok-3.5.3}/PKG-INFO +2 -2
  2. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/unidep.py +2 -2
  3. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok.egg-info/PKG-INFO +2 -2
  4. {UniTok-3.5.2 → UniTok-3.5.3}/setup.py +2 -2
  5. {UniTok-3.5.2 → UniTok-3.5.3}/README.md +0 -0
  6. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/__init__.py +0 -0
  7. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/__main__.py +0 -0
  8. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/analysis/__init__.py +0 -0
  9. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/analysis/lengths.py +0 -0
  10. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/analysis/plot.py +0 -0
  11. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/cols.py +0 -0
  12. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/column.py +0 -0
  13. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/fut.py +0 -0
  14. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/global_setting.py +0 -0
  15. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/meta.py +0 -0
  16. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/tok/__init__.py +0 -0
  17. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/tok/bert_tok.py +0 -0
  18. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/tok/ent_tok.py +0 -0
  19. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/tok/id_tok.py +0 -0
  20. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/tok/number_tok.py +0 -0
  21. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/tok/seq_tok.py +0 -0
  22. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/tok/split_tok.py +0 -0
  23. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/tok/tok.py +0 -0
  24. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/unitok.py +0 -0
  25. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/vocab.py +0 -0
  26. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok/vocabs.py +0 -0
  27. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok.egg-info/SOURCES.txt +0 -0
  28. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok.egg-info/dependency_links.txt +0 -0
  29. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok.egg-info/entry_points.txt +0 -0
  30. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok.egg-info/requires.txt +0 -0
  31. {UniTok-3.5.2 → UniTok-3.5.3}/UniTok.egg-info/top_level.txt +0 -0
  32. {UniTok-3.5.2 → UniTok-3.5.3}/setup.cfg +0 -0
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: UniTok
3
- Version: 3.5.2
3
+ Version: 3.5.3
4
4
  Summary: Unified Tokenizer
5
5
  Home-page: https://github.com/Jyonn/UnifiedTokenizer
6
6
  Author: Jyonn Liu
7
- Author-email: i@6-79.cn
7
+ Author-email: liu@qijiong.work
8
8
  License: MIT Licence
9
9
  Keywords: token,tokenizer
10
10
  Platform: any
@@ -357,8 +357,8 @@ class UniDep:
357
357
  data[col_name].append(sample[col_name])
358
358
 
359
359
  for col_name in data:
360
- data[col_name] = np.array(data[col_name])
361
- np.save(os.path.join(store_dir, 'data.npy'), cast(np.ndarray, data), allow_pickle=True)
360
+ data[col_name] = np.array(data[col_name], dtype=object)
361
+ np.save(os.path.join(store_dir, 'data.npy'), data, allow_pickle=True)
362
362
 
363
363
  meta_data = self.meta.get_info()
364
364
  json.dump(meta_data, open(os.path.join(store_dir, 'meta.data.json'), 'w'), indent=2)
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: UniTok
3
- Version: 3.5.2
3
+ Version: 3.5.3
4
4
  Summary: Unified Tokenizer
5
5
  Home-page: https://github.com/Jyonn/UnifiedTokenizer
6
6
  Author: Jyonn Liu
7
- Author-email: i@6-79.cn
7
+ Author-email: liu@qijiong.work
8
8
  License: MIT Licence
9
9
  Keywords: token,tokenizer
10
10
  Platform: any
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text(encoding='utf8')
6
6
 
7
7
  setup(
8
8
  name='UniTok',
9
- version='3.5.2',
9
+ version='3.5.3',
10
10
  keywords=['token', 'tokenizer'],
11
11
  description='Unified Tokenizer',
12
12
  long_description=long_description,
@@ -14,7 +14,7 @@ setup(
14
14
  license='MIT Licence',
15
15
  url='https://github.com/Jyonn/UnifiedTokenizer',
16
16
  author='Jyonn Liu',
17
- author_email='i@6-79.cn',
17
+ author_email='liu@qijiong.work',
18
18
  platforms='any',
19
19
  packages=find_packages(),
20
20
  install_requires=[
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes