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

Class: ArAutoSummarize

Source Location: /sub/ArAutoSummarize.class.php

Class Overview


PHP class for automatic keyphrase extraction to provide a quick mini-summary and automatic keywords list for a long Arabic document.


Author(s):

Copyright:

  • Khaled Al-Shamaa 2008

Methods



Class Details

[line 39]
PHP class for automatic keyphrase extraction to provide a quick mini-summary and automatic keywords list for a long Arabic document.



Tags:

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


[ Top ]


Class Methods


method doRateSummarize [line 94]

String doRateSummarize( String $str, Integer $rate, String $keywords)

Summarize percentage of the input Arabic string (document content) into output



Tags:

return:  Output summary requested
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

String   $str   Input Arabic document as a string
Integer   $rate   Rate of output summary sentence number as percentage of the input Arabic string (document content)
String   $keywords   List of keywords higlited by search process

[ Top ]

method doSummarize [line 50]

String doSummarize( String $str, Integer $int, String $keywords)

Summarize input Arabic string (document content) into specific number of sentences in the output



Tags:

return:  Output summary requested
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

String   $str   Input Arabic document as a string
Integer   $int   Number of sentences required in output summary
String   $keywords   List of keywords higlited by search process

[ Top ]

method getMetaKeywords [line 188]

String getMetaKeywords( String $str, Integer $int)

Extract keywords from a given Arabic string (document content)



Tags:

return:  List of the keywords extracting from input Arabic string (document content)
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

String   $str   Input Arabic document as a string
Integer   $int   Number of keywords required to be extracting from input string (document content)

[ Top ]

method highlightRateSummary [line 167]

String highlightRateSummary( String $str, Integer $rate, String $keywords)

Highlight key sentences (summary) as percentage of the input string (document content) using CSS and send the result back as an output



Tags:

return:  Output highlighted key sentences summary (using CSS)
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

String   $str   Input Arabic document as a string
Integer   $rate   Rate of highlighted key sentences summary number as percentage of the input Arabic string (document content)
String   $keywords   List of keywords higlited by search process

[ Top ]

method highlightSummary [line 116]

String highlightSummary( String $str, Integer $int, String $keywords)

Highlight key sentences (summary) of the input string (document content) using CSS and send the result back as an output



Tags:

return:  Output highlighted key sentences summary (using CSS)
author:  Khaled Al-Shamaa <khaled.alshamaa@gmail.com>
access:  public


Parameters:

String   $str   Input Arabic document as a string
Integer   $int   Number of key sentences required to be highlighted in the input string (document content)
String   $keywords   List of keywords higlited by search process

[ Top ]


Documentation generated on Thu, 21 Feb 2008 13:58:52 +0200 by phpDocumentor 1.4.0