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.2

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/

or in bibtex format

@misc{zerrouki2012qalsadi,
  title={qalsadi, Arabic mophological analyzer Library for python.},
  author={Zerrouki, Taha},
  url={https://pypi.python.org/pypi/qalsadi},
  year={2012}
}

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

Uploaded Source

Built Distributions

qalsadi-0.3.3-py3-none-any.whl (250.3 kB view details)

Uploaded Python 3

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: qalsadi-0.3.3.tar.gz
  • Upload date:
  • Size: 232.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.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.3.tar.gz
Algorithm Hash digest
SHA256 494eb30545e3ae7ebfb197c4aa044a37d07880ee070ac68dcef5ec0f1a975e3e
MD5 46489c5a1329d4b1a0d96f192085beef
BLAKE2b-256 e8e6aaf108b2db98857220aad76d8dd16903f682af9dbddfbee6d7f227954b58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qalsadi-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 250.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cfdb32df68a2f2f15e58b64fb7ead08c395d3b3fa1b795561e9bcbcffd3199e2
MD5 db9a66367a974b16fe9cee8c6f22a8c7
BLAKE2b-256 81dad0e75f9aeff2fdf48b03a4e295b855e4c45b4156ac1234be4d4e4bfb87d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qalsadi-0.3.3-py2-none-any.whl
  • Upload date:
  • Size: 246.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.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.3-py2-none-any.whl
Algorithm Hash digest
SHA256 9f7239ad540d58230849a8eca077496bc3f767a44e46869f4433ff180c38a8d3
MD5 b806b882d0d81d9378a7c19ee4e7e77a
BLAKE2b-256 eb7d61e6bec45c618ab0b30cf7b850f9270d7a935f8126100687cbea13de2b8a

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