urduhack-1.1.1
توضیحات
Natural Language Processing (NLP) library for Urdu language.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | urduhack-1.1.1 |
| نام | urduhack |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ikram Ali |
| ایمیل نویسنده | mrikram1989@gmail.com |
| آدرس صفحه اصلی | https://github.com/urduhack/urduhack |
| آدرس اینترنتی | https://pypi.org/project/urduhack/ |
| مجوز | MIT License |
# Urduhack: A Python NLP library for Urdu language
[](https://pypi.org/project/urduhack/)
[](https://pypi.org/project/urduhack/)
[](https://dev.azure.com/Urduhack/Urduhack/_build?definitionId=1)
[](https://dev.azure.com/Urduhack/Urduhack/_build?definitionId=1)
[](https://travis-ci.org/urduhack/urduhack)
[](https://www.codefactor.io/repository/github/urduhack/urduhack)
[](https://codecov.io/gh/urduhack/urduhack)
[](https://github.com/urduhack/urduhack/graphs/contributors)
[](https://pepy.tech/project/urduhack)
[](https://gitter.im/urduhack)
[](https://github.com/urduhack/urduhack/blob/master/LICENSE)
Urduhack is a NLP library for urdu language. It comes with a lot of battery included features to help you process Urdu
data in the easiest way possible.
Our Goal
--------
- **Academic users** Easier experimentation to prove their hypothesis without coding from scratch.
- **NLP beginners** Learn how to build an NLP project with production level code quality.
- **NLP developers** Build a production level application within minutes.
🔥 Features Support
-------------------
- [x] Normalization
- [x] Preprocessing
- [x] Tokenization
- [x] Pipeline Module
- [x] Models
- [x] Pos tagger
- [ ] Sentimental analysis
- [ ] Sentence classification
- [ ] Documents classification
- [x] Name entity recognition
- [ ] Image to text
- [ ] Speech to text
- [x] Datasets loader
🛠 Installation
---------------
Urduhack officially supports Python 3.6–3.7, and runs great on PyPy.
Installing with tensorflow cpu version.
``` {.sourceCode .bash}
$ pip install urduhack[tf]
```
Installing with tensorflow gpu version.
``` {.sourceCode .bash}
$ pip install urduhack[tf-gpu]
```
Usage
-----
```python
import urduhack
# Downloading models
urduhack.download()
nlp = urduhack.Pipeline()
text = ""
doc = nlp(text)
for sentence in doc.sentences:
print(sentence.text)
for word in sentence.words:
print(f"{word.text}\t{word.pos}")
for token in sentence.tokens:
print(f"{token.text}\t{token.ner}")
```
🔗 Documentation
----------------
Fantastic documentation is available at <https://urduhack.readthedocs.io/>
| Documentation | |
| --------------- | -------------------------------------------------------------- |
| [Installation] | How to install Urduhack and download models |
| [Quickstart] | New to Urduhack? Here's everything you need to know! |
| [API Reference] | The detailed reference for Urduhack's API. |
[Installation]: https://urduhack.readthedocs.io/en/stable/installation.html
[Quickstart]: https://urduhack.readthedocs.io/en/stable/quickstart/index.html
[Api reference]: https://urduhack.readthedocs.io/en/stable/reference/index.html
How to Contribute
-----------------
1. Check for open issues or open a fresh issue to start a discussion
around a feature idea or a bug. There is a [Contributor Friendly](https://github.com/urduhack/urduhack/issues)
tag for issues that should be ideal for people who are not very
familiar with the codebase yet.
3. Write a test which shows that the bug was fixed or that the feature
works as expected.
4. Send a pull request and bug the maintainer until it gets merged and
published. :)
👍 Contributors
---------------
Special thanks to everyone who contributed to getting the UrduHack to the current state.
Backers [](#backers)
---------------------------------------------------------------------------------------------------------
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/urduhack#backer)]
<a href="https://opencollective.com/urduhack#backers" target="_blank"><img src="https://opencollective.com/urduhack/backers.svg?width=890"></a>
Sponsors [](#sponsors)
------------------------------------------------------------------------------------------------------------
Support this project by becoming a sponsor. [[Become a sponsor](https://opencollective.com/urduhack#sponsor)]
<a href="https://opencollective.com/urduhack/sponsor/0/website" target="_blank"><img src="https://opencollective.com/urduhack/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/urduhack/sponsor/1/website" target="_blank"><img src="https://opencollective.com/urduhack/sponsor/1/avatar.svg"></a>
📝 Copyright and license
------------------------
Code released under the [MIT License](ttps://github.com/urduhack/urduhack/blob/master/LICENSE).
نیازمندی
| مقدار | نام |
|---|---|
| - | tf2crf |
| ~=3.1 | tensorflow-datasets |
| ~=7.1 | Click |
| - | regex |
| ~=2.2 | tensorflow |
| ~=2.2 | tensorflow-gpu |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >= 3.6 | Python |
نحوه نصب
نصب پکیج whl urduhack-1.1.1:
pip install urduhack-1.1.1.whl
نصب پکیج tar.gz urduhack-1.1.1:
pip install urduhack-1.1.1.tar.gz