compound-word-splitter-0.4
توضیحات
Splits compound words, like German "Effektivitätsberechnung
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | compound-word-splitter-0.4 |
| نام | compound-word-splitter |
| نسخه کتابخانه | 0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Timotheus Kampik |
| ایمیل نویسنده | timotheus.kampik@gmail.com |
| آدرس صفحه اصلی | https://github.com/TimKam/compound-word-splitter |
| آدرس اینترنتی | https://pypi.org/project/compound-word-splitter/ |
| مجوز | MIT |
compound-word-splitter
======================
.. image:: https://travis-ci.org/TimKam/compound-word-splitter.svg?branch=master
:target: https://travis-ci.org/TimKam/compound-word-splitter
Splits words that are not recognized by pyenchant (spell checker) into largest possible compounds.
Installation
------------
::
pip install compound-word-splitter
Usage
-----
.. code:: python
import splitter
splitter.split('artfactory')
returns
.. code:: python
['art', 'factory']
If the word cannot be split into compounds pyenchant recognizes as words, the splitter returns an empty string.
نحوه نصب
نصب پکیج whl compound-word-splitter-0.4:
pip install compound-word-splitter-0.4.whl
نصب پکیج tar.gz compound-word-splitter-0.4:
pip install compound-word-splitter-0.4.tar.gz