Skip to main content

Natural Language Processing (NLP) library for Urdu language.

Project description

Urduhack: A Python NLP library for Urdu language

image image Azure DevOps builds Azure DevOps tests Build Status CodeFactor codecov image Downloads Gitter License: MIT

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

  • Normalization
  • Tokenization
  • Preprocessing
  • Pipeline Module
  • Models
    • Pos tagger
    • Sentimental analysis
    • Sentence classification
    • Documents classification
    • Name entity recognition
    • Image to text
    • Speech to text
  • Datasets loader

🛠 Installation

Urduhack officially supports Python 3.6–3.7, and runs great on PyPy.

Installing with tensorflow cpu version.

$ pip install urduhack[tf]

Installing with tensorflow gpu version.

$ pip install urduhack[tf-gpu]

Usage

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(word)

🔗 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.

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 tag for issues that should be ideal for people who are not very familiar with the codebase yet.
  2. Write a test which shows that the bug was fixed or that the feature works as expected.
  3. 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 on Open Collective

Thank you to all our backers! 🙏 [Become a backer]

Sponsors Sponsors on Open Collective

Support this project by becoming a sponsor. [Become a sponsor]

📝 Copyright and license

Code released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

urduhack-1.0.2.tar.gz (80.8 kB view details)

Uploaded Source

Built Distribution

urduhack-1.0.2-py3-none-any.whl (96.5 kB view details)

Uploaded Python 3

File details

Details for the file urduhack-1.0.2.tar.gz.

File metadata

  • Download URL: urduhack-1.0.2.tar.gz
  • Upload date:
  • Size: 80.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for urduhack-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8e7f2a1c51b507a41b16beb6e2a80e9ff131a41d3fee9fc84fe76532507c13a2
MD5 172add621b2a81168bd307326634eb70
BLAKE2b-256 ff68623d4c94706f4914f542fdabbddd7a608ef766b217f3a7b4481e8b154ddc

See more details on using hashes here.

File details

Details for the file urduhack-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: urduhack-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 96.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.1

File hashes

Hashes for urduhack-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bdc703e27addb429f64112dbea552e0c080115330fba0f906ff361c8101b20bc
MD5 53796fc0984a01582585382e23533267
BLAKE2b-256 8f2ab9b4ed3a8b033b5d9e157cc4fcec609a6ecffe51fbc9b80a530eb48b8332

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page