alkuhlani-student


Namealkuhlani-student JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/alkuhlani/alkuhlani-student
SummaryA simple Python package to analyze word frequency in text - محلل تكرار الكلمات
upload_time2025-10-07 02:28:28
maintainerNone
docs_urlNone
authorAlkuhlani Student (CYS 2)
requires_python>=3.7
licenseMIT
keywords word frequency analysis text processing nlp arabic alkuhlani student
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Alkuhlani Student - محلل تكرار الكلمات

حزمة Python بسيطة لتحليل تكرار الكلمات في النصوص.

A simple Python package to analyze word frequency in text.

## التثبيت - Installation

```bash
pip install alkuhlani-student
```

## الاستخدام - Usage

### استخدام الحزمة في كود Python

```python
from alkuhlani_student import word_frequency, analyze_text

# تحليل النص
text = "مرحبا بك في محلل تكرار الكلمات مرحبا"
result = word_frequency(text)
print(result)
# Output: [('مرحبا', 2), ('بك', 1), ('في', 1), ('محلل', 1), ('تكرار', 1), ('الكلمات', 1)]

# الحصول على نتائج منسقة
formatted_result = analyze_text(text)
print(formatted_result)
```

### استخدام الحزمة من سطر الأوامر

```bash
alkuhlani-student
```

أو

```bash
python -m alkuhlani_student
```

## الميزات - Features

- تحليل تكرار الكلمات في النصوص
- دعم اللغة العربية والإنجليزية
- إزالة علامات الترقيم تلقائياً
- ترتيب النتائج حسب التكرار
- واجهة سطر أوامر سهلة الاستخدام
- قابلة للاستخدام كمكتبة في مشاريعك

## أمثلة - Examples

### مثال 1: تحليل نص عربي

```python
from alkuhlani_student import word_frequency

text = "Python هي لغة برمجة قوية. Python سهلة التعلم."
result = word_frequency(text)
print(result)
# Output: [('python', 2), ('هي', 1), ('لغة', 1), ('برمجة', 1), ('قوية', 1), ('سهلة', 1), ('التعلم', 1)]
```

### مثال 2: تحليل نص إنجليزي

```python
from alkuhlani_student import word_frequency

text = "Hello world! Hello Python. Python is great."
result = word_frequency(text)
print(result)
# Output: [('hello', 2), ('python', 2), ('world', 1), ('is', 1), ('great', 1)]
```

### مثال 3: استخدام analyze_text

```python
from alkuhlani_student import analyze_text

text = "مرحبا مرحبا بك"
print(analyze_text(text))
```

## المتطلبات - Requirements

- Python 3.7 أو أحدث

## الكاتب - Author

**Alkuhlani Student (CYS 2)**

---

**صُنع من قبل Alkuhlani Student (CYS 2)**

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/alkuhlani/alkuhlani-student",
    "name": "alkuhlani-student",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "word, frequency, analysis, text, processing, nlp, arabic, alkuhlani, student",
    "author": "Alkuhlani Student (CYS 2)",
    "author_email": "\"Alkuhlani Student (CYS 2)\" <alkuhlani@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/29/fb/9e91d03773d0558311d91ed16905c69b7a730c20fbfc6e983215077420b7/alkuhlani_student-0.1.2.tar.gz",
    "platform": null,
    "description": "# Alkuhlani Student - \u0645\u062d\u0644\u0644 \u062a\u0643\u0631\u0627\u0631 \u0627\u0644\u0643\u0644\u0645\u0627\u062a\n\n\u062d\u0632\u0645\u0629 Python \u0628\u0633\u064a\u0637\u0629 \u0644\u062a\u062d\u0644\u064a\u0644 \u062a\u0643\u0631\u0627\u0631 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u0641\u064a \u0627\u0644\u0646\u0635\u0648\u0635.\n\nA simple Python package to analyze word frequency in text.\n\n## \u0627\u0644\u062a\u062b\u0628\u064a\u062a - Installation\n\n```bash\npip install alkuhlani-student\n```\n\n## \u0627\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645 - Usage\n\n### \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062d\u0632\u0645\u0629 \u0641\u064a \u0643\u0648\u062f Python\n\n```python\nfrom alkuhlani_student import word_frequency, analyze_text\n\n# \u062a\u062d\u0644\u064a\u0644 \u0627\u0644\u0646\u0635\ntext = \"\u0645\u0631\u062d\u0628\u0627 \u0628\u0643 \u0641\u064a \u0645\u062d\u0644\u0644 \u062a\u0643\u0631\u0627\u0631 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u0645\u0631\u062d\u0628\u0627\"\nresult = word_frequency(text)\nprint(result)\n# Output: [('\u0645\u0631\u062d\u0628\u0627', 2), ('\u0628\u0643', 1), ('\u0641\u064a', 1), ('\u0645\u062d\u0644\u0644', 1), ('\u062a\u0643\u0631\u0627\u0631', 1), ('\u0627\u0644\u0643\u0644\u0645\u0627\u062a', 1)]\n\n# \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0646\u062a\u0627\u0626\u062c \u0645\u0646\u0633\u0642\u0629\nformatted_result = analyze_text(text)\nprint(formatted_result)\n```\n\n### \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u062d\u0632\u0645\u0629 \u0645\u0646 \u0633\u0637\u0631 \u0627\u0644\u0623\u0648\u0627\u0645\u0631\n\n```bash\nalkuhlani-student\n```\n\n\u0623\u0648\n\n```bash\npython -m alkuhlani_student\n```\n\n## \u0627\u0644\u0645\u064a\u0632\u0627\u062a - Features\n\n- \u062a\u062d\u0644\u064a\u0644 \u062a\u0643\u0631\u0627\u0631 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u0641\u064a \u0627\u0644\u0646\u0635\u0648\u0635\n- \u062f\u0639\u0645 \u0627\u0644\u0644\u063a\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0648\u0627\u0644\u0625\u0646\u062c\u0644\u064a\u0632\u064a\u0629\n- \u0625\u0632\u0627\u0644\u0629 \u0639\u0644\u0627\u0645\u0627\u062a \u0627\u0644\u062a\u0631\u0642\u064a\u0645 \u062a\u0644\u0642\u0627\u0626\u064a\u0627\u064b\n- \u062a\u0631\u062a\u064a\u0628 \u0627\u0644\u0646\u062a\u0627\u0626\u062c \u062d\u0633\u0628 \u0627\u0644\u062a\u0643\u0631\u0627\u0631\n- \u0648\u0627\u062c\u0647\u0629 \u0633\u0637\u0631 \u0623\u0648\u0627\u0645\u0631 \u0633\u0647\u0644\u0629 \u0627\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645\n- \u0642\u0627\u0628\u0644\u0629 \u0644\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0643\u0645\u0643\u062a\u0628\u0629 \u0641\u064a \u0645\u0634\u0627\u0631\u064a\u0639\u0643\n\n## \u0623\u0645\u062b\u0644\u0629 - Examples\n\n### \u0645\u062b\u0627\u0644 1: \u062a\u062d\u0644\u064a\u0644 \u0646\u0635 \u0639\u0631\u0628\u064a\n\n```python\nfrom alkuhlani_student import word_frequency\n\ntext = \"Python \u0647\u064a \u0644\u063a\u0629 \u0628\u0631\u0645\u062c\u0629 \u0642\u0648\u064a\u0629. Python \u0633\u0647\u0644\u0629 \u0627\u0644\u062a\u0639\u0644\u0645.\"\nresult = word_frequency(text)\nprint(result)\n# Output: [('python', 2), ('\u0647\u064a', 1), ('\u0644\u063a\u0629', 1), ('\u0628\u0631\u0645\u062c\u0629', 1), ('\u0642\u0648\u064a\u0629', 1), ('\u0633\u0647\u0644\u0629', 1), ('\u0627\u0644\u062a\u0639\u0644\u0645', 1)]\n```\n\n### \u0645\u062b\u0627\u0644 2: \u062a\u062d\u0644\u064a\u0644 \u0646\u0635 \u0625\u0646\u062c\u0644\u064a\u0632\u064a\n\n```python\nfrom alkuhlani_student import word_frequency\n\ntext = \"Hello world! Hello Python. Python is great.\"\nresult = word_frequency(text)\nprint(result)\n# Output: [('hello', 2), ('python', 2), ('world', 1), ('is', 1), ('great', 1)]\n```\n\n### \u0645\u062b\u0627\u0644 3: \u0627\u0633\u062a\u062e\u062f\u0627\u0645 analyze_text\n\n```python\nfrom alkuhlani_student import analyze_text\n\ntext = \"\u0645\u0631\u062d\u0628\u0627 \u0645\u0631\u062d\u0628\u0627 \u0628\u0643\"\nprint(analyze_text(text))\n```\n\n## \u0627\u0644\u0645\u062a\u0637\u0644\u0628\u0627\u062a - Requirements\n\n- Python 3.7 \u0623\u0648 \u0623\u062d\u062f\u062b\n\n## \u0627\u0644\u0643\u0627\u062a\u0628 - Author\n\n**Alkuhlani Student (CYS 2)**\n\n---\n\n**\u0635\u064f\u0646\u0639 \u0645\u0646 \u0642\u0628\u0644 Alkuhlani Student (CYS 2)**\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple Python package to analyze word frequency in text - \u0645\u062d\u0644\u0644 \u062a\u0643\u0631\u0627\u0631 \u0627\u0644\u0643\u0644\u0645\u0627\u062a",
    "version": "0.1.2",
    "project_urls": {
        "Bug Reports": "https://github.com/alkuhlani/alkuhlani-student/issues",
        "Homepage": "https://github.com/alkuhlani/alkuhlani-student",
        "Source": "https://github.com/alkuhlani/alkuhlani-student"
    },
    "split_keywords": [
        "word",
        " frequency",
        " analysis",
        " text",
        " processing",
        " nlp",
        " arabic",
        " alkuhlani",
        " student"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "cc158ed944b6e32f75d88a7a6df8bab8389a105065e063e648754123e84c7973",
                "md5": "a4ee5b6f9d6011aae705523814615888",
                "sha256": "17efa5f2f844b2db4cfe1bdb510fd2ddaa41409e2aaff3af429061628ec0b563"
            },
            "downloads": -1,
            "filename": "alkuhlani_student-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a4ee5b6f9d6011aae705523814615888",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5001,
            "upload_time": "2025-10-07T02:28:27",
            "upload_time_iso_8601": "2025-10-07T02:28:27.494650Z",
            "url": "https://files.pythonhosted.org/packages/cc/15/8ed944b6e32f75d88a7a6df8bab8389a105065e063e648754123e84c7973/alkuhlani_student-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "29fb9e91d03773d0558311d91ed16905c69b7a730c20fbfc6e983215077420b7",
                "md5": "7a3c0ee6f5e9d1dc47130b1574bf7048",
                "sha256": "9aa545975de011f3ea27e7f43a7001a916a150f0fdf7b2cc6abd3cf0d77de79a"
            },
            "downloads": -1,
            "filename": "alkuhlani_student-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7a3c0ee6f5e9d1dc47130b1574bf7048",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4449,
            "upload_time": "2025-10-07T02:28:28",
            "upload_time_iso_8601": "2025-10-07T02:28:28.574018Z",
            "url": "https://files.pythonhosted.org/packages/29/fb/9e91d03773d0558311d91ed16905c69b7a730c20fbfc6e983215077420b7/alkuhlani_student-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-07 02:28:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "alkuhlani",
    "github_project": "alkuhlani-student",
    "github_not_found": true,
    "lcname": "alkuhlani-student"
}
        
Elapsed time: 1.64997s