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

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/

bibtex:

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

Uploaded Source

Built Distributions

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

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

Uploaded Python 3

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: qalsadi-0.3.5.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.5.tar.gz
Algorithm Hash digest
SHA256 0ae57cf5fed9c4cf60e806d64eac91b3e8a0646fa554693b36d68bc62fccb115
MD5 105d68fae3fc72ee86a8ac4a1f568fc6
BLAKE2b-256 13f48698238a0040aa90a9a393d7d78a31f3f5c2dc6e8da4eb5d2fc9b96a084a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qalsadi-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 250.4 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c693f5a48cce7c4783e13d4b3435424460e4676596b5936bdfa7178e5448d557
MD5 1e2894988f6267ff6f02ad473380751d
BLAKE2b-256 733031fba0b24e801adbbfad37d119c3e8056c1f6f3aca929b05028b7188da94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qalsadi-0.3.5-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.5-py2-none-any.whl
Algorithm Hash digest
SHA256 9346b8b685269557d47c331f78c0b162ea62c99698d01221df0b3481f121876b
MD5 1cd8e6575c817022f95a5317defedeaa
BLAKE2b-256 315e0950a2bc98e967d5d1d9f982679db47a92832ae7d38d363b3fb8e461fb58

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