Metadata-Version: 2.1
Name: ruqia
Version: 0.0.9
Summary: Arabic NLP
Home-page: https://github.com/Ruqyai/Ara-NLP-lib
Author: Ruqiya Bin Safi
Author-email: myacount05@gmail.com
Project-URL: Bug Reports, https://github.com/Ruqyai/Ara-NLP-lib/issues
Project-URL: Become a sponsor, https://github.com/sponsors/Ruqyai
Project-URL: Source, https://github.com/Ruqyai/Ara-NLP-lib
Keywords: Arabic,NLP,development
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.7, <4
Description-Content-Type: text/markdown
Requires-Dist: peppercorn
Provides-Extra: dev
Requires-Dist: check-manifest ; extra == 'dev'
Provides-Extra: test
Requires-Dist: coverage ; extra == 'test'

# Ruqia lib
This library used for Arabic NLP to process, prepare and clean the Arabic text
## Install
```
pip install ruqia
```
## Use
```
from ruqiya import ruqiya
```
## Example
```
text="""
!!أهلا وسهلا بك في الإصدار الأول من مكتبة رقيا
هل هي المرة الأولى التي تستخدم فيها المكتبة؟!!
"""
```
## Clean the text. It includes all functions
```
text_cleaned1=ruqiya.clean_text(text)
print(text_cleaned1)
```
## Remove repeating character
```
text_cleaned2=ruqiya.remove_repeating_char(text)
print(text_cleaned2)

```
## Remove punctuations
```
text_cleaned3=ruqiya.remove_punctuations(text)
print(text_cleaned3)
```
## Normalize Arabic

```
text_cleaned4=ruqiya.normalize_arabic(text)
print(text_cleaned4)
```
## Remove diacritics

```
text_cleaned5=ruqiya.remove_diacritics(text)
print(text_cleaned5)
```
## Remove stop words

```
text_cleaned6=ruqiya. remove_stop_words(text)
print(text_cleaned6)

```
