Sha256: ab4d67c302572f01c6996347c0f6e54813a58cac978a871797cb7d88bd3af301

Contents?: true

Size: 959 Bytes

Versions: 1

Compression:

Stored size: 959 Bytes

Contents

arabic_stemmer
==============

Lightweight to stem Arabic words 

This small gem allows you to stem Arabic words i.e. to remove the common suffixes and prefixes.
It is a lightweight stemmer.

Examples
<br />
المعلمون => معلم
<br />
المدرسة => مدرسة
<br />
الأجهزة => اجهزة

Installation
============

Add this line to your application's Gemfile:

    gem 'arabic_stemmer'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install arabic_stemmer

Usage
=====

word = "المعلمون"
result = ArabicStemmer.to_arabic_stem(word)

Contributing
============

1. Fork it ( https://github.com/shuaibzahda/arabic_stemmer/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
6. Please ensure all unit tests pass. To run them user: rake test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arabic_stemmer-0.0.2 README.md