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.6.tar.gz (232.7 kB view details)

Uploaded Source

Built Distributions

qalsadi-0.3.6-py3-none-any.whl (250.4 kB view details)

Uploaded Python 3

qalsadi-0.3.6-py2-none-any.whl (246.7 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: qalsadi-0.3.6.tar.gz
  • Upload date:
  • Size: 232.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.6.tar.gz
Algorithm Hash digest
SHA256 1e59d6fef016c23766ec95e488134deb5321274bfcc2f8201eac87d62e949aa3
MD5 827c2ef588ff3ad1a51734a730e5bfe1
BLAKE2b-256 495a573cb3e58da53b0e5ad32a2b15e3beb75e65f5af5f472f6a7fa91d936f6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qalsadi-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 250.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 693702d6c803fa43ef72972bc77f81471ed61e43f5957c184813b69dd95220fc
MD5 9260242dbdcd0f692cf8d351bf672d28
BLAKE2b-256 1271c6b3a509fddf3e7f59cdf0b382e3ded28112f4373ba4c44efa71ccd10746

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qalsadi-0.3.6-py2-none-any.whl
  • Upload date:
  • Size: 246.7 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.6-py2-none-any.whl
Algorithm Hash digest
SHA256 44dbc75ecc748735e1260324d45465b7034a8299b77f814e40dfc075885a2eb3
MD5 7e93e16d3e8dea8604d859f4f568cb72
BLAKE2b-256 cd88dc26526e28d128850482566414098b8670cd81862d7d1087734611ef29ec

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