Najnowsze wypowiedzi

[VBA i OOoB] funkcja zwracaj±ca bie¿±cy katalog w accessie(vb)
w temacie wszystko chyba wyja¶ni³em. W excelu to wystarcza³o mi thiswork.path
[VBA i OOoB] [VBA] Czytanie danych z "Tablicy zewnêtrznej"
Witam serdecznie,mam taki problem Mam arkusz z danymi i w nim znajduje siê kolumna z "Gid_numerem" faktury i ten numer jest niepowtarzalny... I teraz te "Gid_numery"wprowadzam...
[Inne] Nuty
heh.....tak sie sk³ada ze wpisywa³em ......ze 150 razy.......i 2x tyle s³ów pokrewnych i ze 3x tyle stron......jako nigdzie nie ma konkretnie i za darmo jakichkolwiek nut..... dzieki dj_100 za...
[Inne] Dowcip
Skoro juz to otworzyles w piatek zostaniesz pocalowany przez milosc twojego zycia, a jutro bedzie najlepszy dzien w twoim zyciu , lecz jesli nie wyslesz tego do 20 osob do 12 dzisiaj w nocy bedziesz...
[Inne] Dzieñ ch³opaka
W±tpiê, ¿eby to by³a kwestia ma³ej pamiêci. S±dzê, ¿e to wina zbyt ma³ej czêstotliwo¶ci od¶wie¿ania. Czyli czê¶ciej jej przypominaæ albo kupiæ jej pamiêæ statyczn± (za drogie)

Kurs


mario download

enchant Functions

XXXII. enchant Functions

Wstęp

Enchant is the PHP binding for the Enchant library. Enchant steps in to provide uniformity and conformity on top of all spelling libraries, and implement certain features that may be lacking in any individual provider library. Everything should "just work" for any and every definition of "just working."

Enchat supports the following backends:

  • Aspell/Pspell (intends to replace Ispell)

  • Ispell (old as sin, could be interpreted as a defacto standard)

  • MySpell/Hunspell (an OOo projects, also used by Mozilla)

  • Uspell (primarily Yiddish, Hebrew, and Eastern European languages - hosted in AbiWord's CVS under the module "uspell")

  • Hspell (Hebrew)

  • AppleSpell (Mac OSX)

Wymagania

This version uses the functions of the Enchant library by Dom Lachowicz. You need Enchant 1.2.4 or later.

Instalacja

Informacje na temat instalacji tego rozszerzenia PECL można znaleźć w podręczniku w rozdziale zatytułowanym Instalacja rozszerzeń PECL. Dodatkowe informacje, takie jak nowe wersje, pliki do pobrania, pliki źródłowe, informacje o opiekunach czy rejestr zmian, można znaleźć tutaj: http://pecl.php.net/package/enchant.

Konfiguracja uruchomieniowa

To rozszerzenie nie definiuje posiada żadnych dyrektyw konfiguracyjnych w pliku php.ini.

Typy zasobów

There are two types of resources in this extension. The first one is the broker (backends manager) and the second is for the dictionary.

Przykłady

Przykład 1. Enchant Usage Example

<?php
$tag
= 'en_US';
$r = enchant_broker_init();
$bprovides = enchant_broker_describe($r);
echo
"Current broker provides the following backend(s):\n";
print_r($bprovides);

$dicts = enchant_broker_list_dicts($r);
print_r($dicts);
if (
enchant_broker_dict_exists($r,$tag)) {
    
$d = enchant_broker_request_dict($r, $tag);
    
$dprovides = enchant_dict_describe($d);
    echo
"dictionary $tag provides:\n";
    
$spellerrors = enchant_dict_check($d, "soong");
    
print_r($dprovides);
    echo
"found $spellerrors spell errors\n";
    if (
$spellerrors) {
        
$suggs = enchant_dict_suggest($d, "soong");
        echo
"Suggestions for 'soong':";
        
print_r($suggs);
    }
    
enchant_broker_free_dict($d);
} else {
}
enchant_broker_free($r);
?>
Spis treści
enchant_broker_describe -- Enumerates the Enchant providers
enchant_broker_dict_exists -- Wether a dictionary exists or not. Using non-empty tag
enchant_broker_free_dict -- Free a dictionary resource
enchant_broker_free -- Free the broker resource and its dictionnaries
enchant_broker_get_error -- Returns the last error of the broker
enchant_broker_init -- create a new broker object capable of requesting
enchant_broker_list_dicts -- Returns a list of available dictionaries
enchant_broker_request_dict -- create a new dictionary using a tag
enchant_broker_request_pwl_dict -- creates a dictionary using a PWL file. A PWL file is personal word file one word per line.
enchant_broker_set_ordering -- Declares a preference of dictionaries to use for the language
enchant_dict_add_to_personal -- add a word to personal word list
enchant_dict_add_to_session -- add 'word' to this spell-checking session
enchant_dict_check -- Check whether a word is correctly spelled or not.
enchant_dict_describe -- Describes an individual dictionary
enchant_dict_get_error -- Returns the last error of the current spelling-session
enchant_dict_is_in_session -- whether or not 'word' exists in this spelling-session
enchant_dict_quick_check -- Check the word is correctly spelled and provide suggestions
enchant_dict_store_replacement -- add a correction for a word.
enchant_dict_suggest -- Will return a list of values if any of those pre-conditions are not met.

Obsługa wielowątkowości, jak to wykonać, przykład gdy wątki próbują robić coś równocześnie (jak temu zapobiec, lub jak to obsłużyć) np w przypadku obiektu klasy RECORDSET jeden cos tam jeszcze myka pobiera, się wcina i przed pobraniem następuje zamkniecie (close()) obiektu recordset.

Witam

Na stronie przeznaczonej dla wszystkich pasjonatów programowania i komputerów.