This library is designed to tokenize Persian texts.
Project description
کتابخانه Tokenize برای زبان فارسی
این کتابخانه بخشی از پروژه NLP است که با استفاده از آن میتوان یک متن فارسی را به جملات خاص تقسیم و جملات را به کلمات تقسیم کرد..
نصب
برای نصب این کتابخانه کافیه از دستور زیر استفاده کنید:
pip install nlp-persian-text-tokenize-snd==0.1.1
نحوه پیادهسازی
برای استفاده از کتابخانه، میتوانید از کد نمونه زیر استفاده کنید:
# -*- coding: utf-8 -*-
from pht.tokenizer.TokenizerManager import TokenizerManager
content = 'این یک متن تست فارسی است. آیا درست کار میکند؟ بیاید ببینیم!'
sen = TokenizerManager(content)
print(sen.tokenizing())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nlp_persian_text_tokenize_snd-0.1.1.tar.gz.
File metadata
- Download URL: nlp_persian_text_tokenize_snd-0.1.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35db67372601bcb895c03b78460d8354545a86b6e089e29e0db0bd0e1f2e89d7
|
|
| MD5 |
c2b878fb73516cb0fd732ddd8266804f
|
|
| BLAKE2b-256 |
feb0b38b416a0a760fcd6329c50088810f4423a63102dcd96d8ba279649fcded
|
File details
Details for the file nlp_persian_text_tokenize_snd-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nlp_persian_text_tokenize_snd-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd2f658a6b48449f74aaeae6616b9edada18af1a0a94afed286772635f47a049
|
|
| MD5 |
4b30cb6f156efef6e1c58d05f40b6715
|
|
| BLAKE2b-256 |
1dfa9d2482c5b29a2425121274da03527b74c05e3dc0fdf5de071548d66d8a42
|