You are here: Selecting alternate master dictionary with pspell functions « PHP Programming Language « IT news, forums, messages
Selecting alternate master dictionary with pspell functions

Posted by Miguel Cruz on 10/07/00 11:42

Is it possible to select an alternate master dictionary when using the
pspell interface? There is a way to select a personal dictionary
(pspell_config_personal()), but that is used IN ADDITION to the default
master dictionary, which is not what I want.

I have a different English dictionary I wish to use, and I do not want
to use the default dictionary at all. However, I do not wish to mess
with the existing installation of aspell on the machine by removing the
dictionaries in place.

From the command line I can just do:

aspell --master mydict.rws

but there seems to be no way to simulate the "--master" argument using
the PHP interface. Likewise there seems to be no way to provide the
"--size" argument.

On a related note, are there any examples anywhere of how the 'jargon'
parameter might actually be used? In every example I can find it is
blank, and all references to it in documentation are elliptical at best.

I know I can do all this by piping to the aspell binary but with the
volume of text I'm looking at that's going to be really really slow.

Thanks for any help.

miguel
--
Photos from 38 countries on 5 continents: http://travel.u.nu
Latest photos: Australia; Malaysia; Burma; Thailand; Hong Kong
Airports of the world: http://airport.u.nu

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация