Farasa segmenter implemented in pure Python
Project description
Farasa Segmenter (Non-official)
Usage
>>> from farasa import segmentation as s
>>> s.segmentLine("والمكتبات")
>>> ['و+ال+مكتب+ات']
>>> segments = s.segmentLine(" ثورة في مشهد الكعك")
>>> for tok in segments:
>>> ... print(tok)
>>> ...
>>> 'ثور+ة'
>>> 'في'
>>> 'مشهد'
>>> 'ال+كعك'
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
PyFarasa-0.0.1.tar.gz
(12.4 MB
view details)
Built Distribution
File details
Details for the file PyFarasa-0.0.1.tar.gz
.
File metadata
- Download URL: PyFarasa-0.0.1.tar.gz
- Upload date:
- Size: 12.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e435830456167a2feba86d730cc8c8e3f61978a717aac5ea76b5b5f2fda542d |
|
MD5 | de1dc79e526dce4c7f9094bdc6322d41 |
|
BLAKE2b-256 | b3f9307df617474c068d8a50f8848de1bddedc58efab0aa804e6436f373fbf29 |
File details
Details for the file PyFarasa-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: PyFarasa-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 12.6 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04ee34fb37fd24c357f99fb15976015863de0548ea2553093d510e12d72b0c3 |
|
MD5 | 1e0dacf7abaaa7eadf5bbab9b9ed964c |
|
BLAKE2b-256 | 6af22f6a638d3c00e869542ade06b37c151a9cb75a88253b77696f192e8c2bfa |