Skip to main content

Qalsadi Arabic Morphological Analyzer for Python

Project description

Qalsadi Arabic Morphological Analyzer for Python

Developpers: Taha Zerrouki: http://tahadz.com taha dot zerrouki at gmail dot com

Feature s

value

Authors

Authors.md

Release

0.3.6

License

GPL

Tracker

linuxscout/qalsadi/Issues

Website

https://pypi.python.org/pypi/qalsadi

Doc

package Documentaion

Source

Github

Downloa d

sourceforge

Feedbac ks

Comments

Account s

[@Twitter](https://twitter.com/linuxscout) [@Sourceforge](http://sourceforge.net/projects/qalsadi/)

Citation

If you would cite it in academic work, can you use this citation

T. Zerrouki‏, Qalsadi, Arabic mophological analyzer Library for python.,  https://pypi.python.org/pypi/qalsadi/

Features مزايا

Applications

  • Stemming texts

  • Text Classification and categorization

  • Sentiment Analysis

  • Named Entities Recognition

Installation

pip install qalsadi

Requirements

pip install -r requirements.txt

Usage

Example

filename="samples/text.txt"
import qalsadi.analex as qa
try:
    myfile=open(filename)
    text=(myfile.read()).decode('utf8');

    if text == None:
        text=u"السلام عليكم"
except:
    text=u"أسلم"
    print " given text"

debug=False;
limit=500
analyzer = qa.Analex()
analyzer.set_debug(debug);
result = analyzer.check_text(text);
print '----------------python format result-------'
print result
for i in range(len(result)):
#       print "--------تحليل كلمة  ------------", word.encode('utf8');
    print "-------------One word detailed case------";
    for analyzed in  result[i]:
        print "-------------one case for word------";
        print repr(analyzed);

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

qalsadi-0.3.7.tar.gz (234.7 kB view details)

Uploaded Source

Built Distributions

qalsadi-0.3.7-py3-none-any.whl (254.0 kB view details)

Uploaded Python 3

qalsadi-0.3.7-py2-none-any.whl (250.3 kB view details)

Uploaded Python 2

File details

Details for the file qalsadi-0.3.7.tar.gz.

File metadata

  • Download URL: qalsadi-0.3.7.tar.gz
  • Upload date:
  • Size: 234.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/2.7.12

File hashes

Hashes for qalsadi-0.3.7.tar.gz
Algorithm Hash digest
SHA256 135c1b605e292c29aa668ee32be13b62a93276b8a83b13596e034c1072223d34
MD5 0ed19dcd01b941398f2c3815db226de5
BLAKE2b-256 4b08053f77dd0452e334447c1d1cadd883c9a8417aedd7f18b0299267e80d6b8

See more details on using hashes here.

File details

Details for the file qalsadi-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: qalsadi-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 254.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/2.7.12

File hashes

Hashes for qalsadi-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 79e554e438b322bf48b187fe5e06bc01059366fee4b3cf3f927d59802df1b8c2
MD5 40e76ec37ea96fe38044b7a8af23c955
BLAKE2b-256 76e4c5077aba544a292b03ae363b866ad08477f0c6e412fd7e48d69569d58538

See more details on using hashes here.

File details

Details for the file qalsadi-0.3.7-py2-none-any.whl.

File metadata

  • Download URL: qalsadi-0.3.7-py2-none-any.whl
  • Upload date:
  • Size: 250.3 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/2.7.12

File hashes

Hashes for qalsadi-0.3.7-py2-none-any.whl
Algorithm Hash digest
SHA256 dd4d52fc0bbce1beca99e5ac2f87cda79abd4587d46263913d7da123cc15fb5c
MD5 dbb2d443e61e19fdf780da21f2c7c430
BLAKE2b-256 9b5b4a00c92c1d42ba4603038b9efa2b148dc46367527737b19d481fd4c5bebb

See more details on using hashes here.

Supported by

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