Forum und email

Pspell Functions

Introdução

These functions allow you to check the spelling of a word and offer suggestions.

Dependências

To compile PHP with pspell support, you need the aspell library, available from » https://aspell.sourceforge.net/.

Instalação

If you have the libraries needed add the --with-pspell[=dir] option when compiling PHP.

Nota: Note to Win32 Users Para esta extensão funcionar, existem arquivos DLL que devem estar disponíveis no PATH do sistema Windows. Veja o FAQ entitulado "Como eu adiciono o meu diretório PHP no PATH no Windows" para informações de como fazer isto. Mesmo que copiar os arquivos DLL da pasta do PHP no diretório system do Windows também funcione (porque o diretório system está por padrão no PATH do sistema), isso não é recomendado. Esta extensão requer que os seguintes arquivos estejam no PATH: aspell-15.dll from the bin folder of the aspell installation.
Win32 support is available only in PHP 4.3.3 and later versions. Also, at least aspell version 0.50 is required.

Configurações em execução

Esta extensão não define nenhum parâmetro de configuração no php.ini.

Tipos Resource

Esta extensão não possui nenhum tipo resource.

Constantes pré-definidas

As contantes abaixo são definidas por esta extensão e somente estarão disponíveis quando a extensão foi compilada com o PHP ou carregada dinamicamente durante a execução.

PSPELL_FAST (integer)
PSPELL_NORMAL (integer)
PSPELL_BAD_SPELLERS (integer)
PSPELL_RUN_TOGETHER (integer)

Índice