Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Farasa-0.0.1.tar.gz (12.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Farasa-0.0.1-py2.py3-none-any.whl (12.6 MB view details)

Uploaded Python 2Python 3

File details

Details for the file Farasa-0.0.1.tar.gz.

File metadata

  • Download URL: Farasa-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

Hashes for Farasa-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b3931f70282f31f721c2feaef8a51b607cbb7e3418546d75acd1b94ac913cb29
MD5 ca4aac4919825848d1e86d313973fda1
BLAKE2b-256 ced980b3e706000b2a071934d38764a7d8b876241fda4ddbb3a0b5c3f8f6d849

See more details on using hashes here.

File details

Details for the file Farasa-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: Farasa-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

Hashes for Farasa-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 39664cf5e562baf81eb70247e3728619ab86fdd7d4d0371b826cf9b3ee5394ad
MD5 00e363553a3b8985ae71f2d34b5062c0
BLAKE2b-256 da00e645e1244b14511a9315398036bc000b0b8d2fea7a7d08c6cfd1afdb4866

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page