ak-phrase.py-1.0.6
توضیحات
Generates permutations of all sentences, using list of words
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ak-phrase.py-1.0.6 |
| نام | ak-phrase.py |
| نسخه کتابخانه | 1.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Arshad Kazmi |
| ایمیل نویسنده | arshadkazmi42@gmail.com |
| آدرس صفحه اصلی | https://github.com/arshadkazmi42/ak-phrase.py |
| آدرس اینترنتی | https://pypi.org/project/ak-phrase.py/ |
| مجوز | - |
# ak-phrase.py
[](https://api.travis-ci.com/arshadkazmi42/ak-phrase.py)
[](https://github.com/arshadkazmi42/ak-phrase.py)
[](https://pypi.org/project/ak-phrase.py/)
[](https://pypi.org/project/ak-phrase.py/)
[](https://pypi.org/project/ak-phrase.py/)
[](https://github.com/arshadkazmi42/ak-phrase.py)
This library generates all the permutations of sentences from words in a 2D array.
It follows the word orders in sentence, same as the words order in array column wise.
## Installation
```
$ pip3 install ak-phrase.py
```
## Usage
```python
from ak-phase.py import SentenceGenerator
word_lists = [['eat'], ['code', 'commit'], ['sleep']]
sentences = SentenceGenerator.generate_sentences(word_lists)
print(sentences)
# Output:
# [ 'eat code sleep', 'eat commit sleep' ]
```
## Contributing
Interested in contributing to this project?
You can log any issues or suggestion related to this library [here](https://github.com/arshadkazmi42/ak-phrase.py/issues/new)
Read our contributing [guide](https://github.com/arshadkazmi42/ak-phrase.py/blob/master/CONTRIBUTING.md) on getting started with contributing to the codebase
## Contributors
[](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.py/links/0)[](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.py/links/1)[](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.py/links/2)[](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.py/links/3)[](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.py/links/4)[](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.py/links/5)[](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.py/links/6)[](https://sourcerer.io/fame/arshadkazmi42/arshadkazmi42/ak-phrase.py/links/7)
نحوه نصب
نصب پکیج whl ak-phrase.py-1.0.6:
pip install ak-phrase.py-1.0.6.whl
نصب پکیج tar.gz ak-phrase.py-1.0.6:
pip install ak-phrase.py-1.0.6.tar.gz