“结巴”中文分词:做最好的 Python 中文分词组件
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.5 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
13 years ago
  1. # -*- coding: utf-8 -*-
  2. from distutils.core import setup
  3. LONGDOC = """
  4. jieba
  5. =====
  6. Python
  7. "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to
  8. be the best Python Chinese word segmentation module.
  9. ``README.md``
  10. GitHub: https://github.com/fxsjy/jieba
  11. ====
  12. -
  13. -
  14. - ,
  15. -
  16. -
  17. -
  18. - MIT
  19. 线 http://jiebademo.ap01.aws.af.cm/
  20. ========
  21. Python 2/3
  22. - ``easy_install jieba`` ``pip install jieba`` / ``pip3 install jieba``
  23. - https://pypi.python.org/pypi/jieba/
  24. python setup.py install
  25. - jieba site-packages
  26. - ``import jieba``
  27. """
  28. setup(name='jieba',
  29. version='0.42.1',
  30. description='Chinese Words Segmentation Utilities',
  31. long_description=LONGDOC,
  32. author='Sun, Junyi',
  33. author_email='ccnusjy@gmail.com',
  34. url='https://github.com/fxsjy/jieba',
  35. license="MIT",
  36. classifiers=[
  37. 'Intended Audience :: Developers',
  38. 'License :: OSI Approved :: MIT License',
  39. 'Operating System :: OS Independent',
  40. 'Natural Language :: Chinese (Simplified)',
  41. 'Natural Language :: Chinese (Traditional)',
  42. 'Programming Language :: Python',
  43. 'Programming Language :: Python :: 2',
  44. 'Programming Language :: Python :: 2.6',
  45. 'Programming Language :: Python :: 2.7',
  46. 'Programming Language :: Python :: 3',
  47. 'Programming Language :: Python :: 3.2',
  48. 'Programming Language :: Python :: 3.3',
  49. 'Programming Language :: Python :: 3.4',
  50. 'Topic :: Text Processing',
  51. 'Topic :: Text Processing :: Indexing',
  52. 'Topic :: Text Processing :: Linguistic',
  53. ],
  54. keywords='NLP,tokenizing,Chinese word segementation',
  55. packages=['jieba'],
  56. package_dir={'jieba':'jieba'},
  57. package_data={'jieba':['*.*','finalseg/*','analyse/*','posseg/*', 'lac_small/*.py','lac_small/*.dic', 'lac_small/model_baseline/*']}
  58. )