The BBC?s Hi-tech Crime Glossary

 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Complex Event Processing RSS News The BBC?s Hi-tech Crime Glossary
# 1  
Old 03-09-2010
The BBC?s Hi-tech Crime Glossary

by Mark Ward, Technology Correspondent, BBC News website Like many subjects, information security comes with its own terminology and the jargon can be opaque to outsiders. Below is the list of terms in the Glossary that helps shed light on the murky world of cyber crime. DCL: I thought it might be interesting to compare it [...]

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
PSPELL_NEW(3)								 1							     PSPELL_NEW(3)

pspell_new - Load a new dictionary

SYNOPSIS
int pspell_new (string $language, [string $spelling], [string $jargon], [string $encoding], [int $mode]) DESCRIPTION
pspell_new(3) opens up a new dictionary and returns the dictionary link identifier for use in other pspell functions. For more information and examples, check out inline manual pspell website:http://aspell.net/. PARAMETERS
o $language - The language parameter is the language code which consists of the two letter ISO 639 language code and an optional two letter ISO 3166 country code after a dash or underscore. o $spelling - The spelling parameter is the requested spelling for languages with more than one spelling such as English. Known values are 'american', 'british', and 'canadian'. o $jargon - The jargon parameter contains extra information to distinguish two different words lists that have the same language and spell- ing parameters. o $encoding - The encoding parameter is the encoding that words are expected to be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r', 'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned 32'. This parameter is largely untested, so be careful when using. o $mode - The mode parameter is the mode in which spellchecker will work. There are several modes available: o PSPELL_FAST - Fast mode (least number of suggestions) o PSPELL_NORMAL - Normal mode (more suggestions) o PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) o PSPELL_RUN_TOGETHER - Consider run-together words as legal compounds. That is, "thecat" will be a legal compound, although there should be a space between the two words. Changing this setting only affects the results returned by pspell_check(3); pspell_suggest(3) will still return suggestions. Mode is a bitmask constructed from different constants listed above. However, PSPELL_FAST, PSPELL_NORMAL and PSPELL_BAD_SPELLERS are mutually exclusive, so you should select only one of them. RETURN VALUES
Returns the dictionary link identifier on success or FALSE on failure. EXAMPLES
Example #1 pspell_new(3) <?php $pspell_link = pspell_new("en", "", "", "", (PSPELL_FAST|PSPELL_RUN_TOGETHER)); ?> PHP Documentation Group PSPELL_NEW(3)