Comunitatea PHP Romania
 

 
aspell_suggest

aspell_suggest

(PHP 3>= 3.0.7, PHP 4 <= 4.2.3)

aspell_suggest -- Suggest spellings of a word [deprecated]

Description

array aspell_suggest ( int dictionary_link, string word)

aspell_suggest() returns an array of possible spellings for the given word.

Exemplu 1. aspell_suggest()

<?php

$aspell_link
= aspell_new("english");

if (!
aspell_check($aspell_link, "test")) {
    
$suggestions = aspell_suggest($aspell_link, "test");

    foreach (
$suggestions as $suggestion) {
        echo
"Possible spelling: $suggestion<br />\n";
    }
}

?>

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Northern Rock | Free eBooks Download | Mortgage | Cheap Flights | Mobile Phone
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis