Arabic
[ class tree: Arabic ] [ index: Arabic ] [ all elements ]

Class: ArStemmer

Source Location: /sub/ArStemmer.class.php

Class Overview


This PHP class get stem of an Arabic word


Author(s):

Copyright:

  • 2009 Khaled Al-Shamaa

Methods



Class Details

[line 78]
This PHP class get stem of an Arabic word



Tags:

author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
copyright:  2009 Khaled Al-Shamaa
link:  http://www.ar-php.org
license:  LGPL


[ Top ]


Class Methods


constructor __construct [line 99]

ArStemmer __construct( )

Loads initialize values



Tags:

access:  public


[ Top ]

method stem [line 118]

string stem( string $word, [string $inputCharset = null], [string $outputCharset = null], [object $main = null])

Get rough stem of the given Arabic word



Tags:

return:  Arabic stem of the word
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

string   $word   Arabic word you would like to get its stem
string   $inputCharset   (optional) Input charset [utf-8|windows-1256|iso-8859-6] default value is NULL (use set input charset)
string   $outputCharset   (optional) Output charset [utf-8|windows-1256|iso-8859-6] default value is NULL (use set output charset)
object   $main   Main Ar-PHP object to access charset converter options

[ Top ]


Documentation generated on Tue, 18 Aug 2009 00:12:51 +0300 by phpDocumentor 1.4.0