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

Class: I18N_Arabic_Stemmer

Source Location: /I18N_Arabic/I18N_Arabic_Stemmer.php

Class Overview


This PHP class get stem of an Arabic word


Author(s):

Copyright:

  • 2009 Khaled Al-Shamaa

Methods



Class Details

[line 108]
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


static method stem [line 148]

static 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 ]

constructor __construct [line 129]

I18N_Arabic_Stemmer __construct( )

Loads initialize values



Tags:

access:  public


[ Top ]


Documentation generated on Sat, 07 Nov 2009 19:53:00 +0200 by phpDocumentor 1.4.0