Skip to main content

Natural Language Processing (NLP) library for Urdu language.

Project description

Urduhack: NLP library for ( 🇵🇰 ) Urdu language

License: MIT image image Build Status codecov Last commit image Downloads Join Slack

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.

Features Support

  • Normalization
    • Arabic and Urdu Unicode Redundancy Problem
    • Character Normalization
    • Combined Characters Normalization
    • Diacritics Removal
    • Spaces Before & After Digits
    • Spaces After Punctuations
    • Joined Words Fix
  • Tokenization
    • Sentence Tokenization
    • Words Tokenization
  • Data Pre-processing
    • Handles all kind of numbers, emails, currencies and urls etc.
  • Tasks
    • Sentimental Analysis
    • Sentence Classification
    • Documents Classification
    • Name Entity Recognition
    • Image to Text
    • Speech to Text


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

$ pip install urduhack


Fantastic documentation is available at

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. :)


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. Your logo will show up here with a link to your website. [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-0.2.7.tar.gz (67.5 kB view hashes)

Uploaded source

Built Distribution

urduhack-0.2.7-py3-none-any.whl (75.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page