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 hashes)
Built Distribution
Close
Hashes for PyFarasa-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04ee34fb37fd24c357f99fb15976015863de0548ea2553093d510e12d72b0c3 |
|
MD5 | 1e0dacf7abaaa7eadf5bbab9b9ed964c |
|
BLAKE2b-256 | 6af22f6a638d3c00e869542ade06b37c151a9cb75a88253b77696f192e8c2bfa |