ENCHANT_BROKER_LIST_DICTS(3) 1 ENCHANT_BROKER_LIST_DICTS(3)enchant_broker_list_dicts - Returns a list of available dictionariesSYNOPSIS
mixed enchant_broker_list_dicts (resource $broker)
DESCRIPTION
Returns a list of available dictionaries with their details.
PARAMETERS
o $broker
- Broker resource
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
List all available dictionaries for one broker
<?php
$r = enchant_broker_init();
$dicts = enchant_broker_list_dicts($r);
print_r($dicts);
?>
The above example will output something similar to:
Array
(
[0] => Array
(
[lang_tag] => de
[provider_name] => aspell
[provider_desc] => Aspell Provider
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
)
[1] => Array
(
[lang_tag] => de_DE
[provider_name] => aspell
[provider_desc] => Aspell Provider
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
)
[3] => Array
(
[lang_tag] => en
[provider_name] => aspell
[provider_desc] => Aspell Provider
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
)
[4] => Array
(
[lang_tag] => en_GB
[provider_name] => aspell
[provider_desc] => Aspell Provider
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
)
[5] => Array
(
[lang_tag] => en_US
[provider_name] => aspell
[provider_desc] => Aspell Provider
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
)
[6] => Array
(
[lang_tag] => hi_IN
[provider_name] => myspell
[provider_desc] => Myspell Provider
[provider_file] => /usr/lib/enchant/libenchant_myspell.so
)
)
SEE ALSO enchant_broker_describe(3).
PHP Documentation Group ENCHANT_BROKER_LIST_DICTS(3)
Check Out this Related Man Page
enchant-lsmod(1) User Commands enchant-lsmod(1)NAME
enchant-lsmod - is used to show languages and dictionaries that enchant supports.
SYNOPSIS
enchant-lsmod [-lang [language_tag]] [-list-dicts] [-h] [-v]
DESCRIPTION
enchant-lsmod is used to show languages and dictionaires that enchant supports.
OPTIONS
The following options are supported:
-lang [language_tag] List all supported languages or show whether a specfied language is supported.
-list-dicts List all dictionaries that enchant supports.
-h Display the help text.
-v Prints the program's version.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-spell |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO libenchant(3), enchant(1), attributes(5),
NOTES
Written by Jeff Cai, Sun Microsystems Inc., 2008.
SunOS 5.11 30 Jul 2008 enchant-lsmod(1)
Sorry if this is not the right folder...
I come across these terms..
-Disk Array
-Clustering
What are they? When and how will we use them?
Please teach me.
Thanks (1 Reply)
i've downloaded php 5 everything seems to be going smoothly except for onething.. i can't seem to locate the files... my question is do i have to manually place the lib in /usr/lib. how do I go about doing this and which other files have to be allocated..
thanx moxxx68 (3 Replies)
Hi,
I have 2 identical servers both running aspell but for some reason I can't redirect the output to a file on one of them. This is what I'm trying to do:
echo feck | aspell -l > errors.txt
On one machine this works fine but the other it doesn't (the file is created but it is empty). ... (6 Replies)
Hi: I've tried to get aspell to work to check a latex document I have. I get this error message:
Error: No word lists can be found for the language "en_CA".
Can anyone offer any suggestions? I'm trying to get a good spell-checker set up for my latex documents. Excalibur does not work all... (1 Reply)
i have a text file consists of different file names like:
line 1: lib/libIMb.so message broker file
line 2: lil/imbdfg.lil message broker file
i need to extract libIMb.so and imbdfg.lil files from those lines and save them in a variable. so that i can search for... (9 Replies)
Hi,
I have a file that contains below information:
provider APESD
APESD Annual Turn $67000
Provider
XXXX Annual Turn $92000
Provider FERHG
FERHG Annual Turn $56700
Provider
ABXX Annual Turn $99000
These are just sample rows out of some 5000. I want to create a tabular report as... (5 Replies)
Hi all,
I have the code as below "
echo "File carried list after 1st loop "${fileStreamAssiagnInit}""
and I have the out put for the above code as below :
Output : File carried list after 1st loop abcInd.csv sdgUS.csv sopSing.csv
Here i want to count the number of elements in... (3 Replies)
$ cc Array.c
Array.c: In function ‘main’:
Array.c:23: warning: passing argument 1 of ‘scanf’ makes po
Array.c:25: error: expected expression before ‘return’
Array.c:29: error: expected expression before ‘return’
Array.c: At top level:
Array.c:44: error: expected ‘)’ before ‘&’ token... (8 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The scirpt I have is meant to check the strings read in from a file with the aspell subroutine in the UNIX bash... (3 Replies)