Hi,

2008/8/7 Sunday Bolaji <[EMAIL PROTECTED]>

> Hi,
>     My name is Abolaji Jeje and i 'm working on project which is spelling
> checker
> for my language which is "YORUBA LANGUAGE".I want to use hunspell
> package for this project but i 'm  having problem in install the
> hunspell  package.Please kindly assist  me.
> These are the effort i have made in installing the hunspell package and the
> result i got:
>
>  CYGWIN ENVIRONMENT
> After installed the cygwin with all the necessary packages  then  i ran
> the  following  commands:
> ./configure
> make
> make check
>
> at the end all the activities computer wrote  "68 of 86 tests fail"


Congratulations on the successfuly compilation of Hunspell in Cygwin
environment.
Unfortunately, the missing locale or character conversion facilities of the
platform result the bad tests. For real test results you can try to remove
the
#include config.h
lines from src/hunspell/hunspell.cxx and src/tools/hunspell.cxx and compile
again:
make clean
make check



>
> if  i try  to run some executable files computer will write "can't open
> affix and dict files"


Hunspell doesn't find the default dictionary. The tests/ subdirectory
contains a lot of test dictionaries:

cd hunspell-1.2.6
src/tools/hunspell -d tests/base
Hunspell 1.2.6
helo
& helo 1 0: hello

UBUNTU(LINUX) ENVIROMENT

> In
> this environment i ran the command  "./configure" and after  checking
> for  resources  computer wrote  "configure error: C++ compiler cannot
> create executable: check config.log for details "


Try

sudo apt-get install g++

or

sudo apt-get install build-essential

(Unfortunately, Linux platforms have different package names. I have used
Google with the "Ubuntu g++" query terms for the above results.)

or (for binary executables)

sudo apt-get install hunspell


>
> please kindly assist me to install the hunspell package  and how to use to
> build a spelling checker for my language.


For the first tests, I suggest to use only an affix file with a SET UTF-8
line:

$ echo "SET UTF-8" >yoruba.aff

and a dic file with the UTF-8 encoded Yoruba words:

and echo "
10000
*àn
án
wá*
*wọ́n
wá*
..." >yoruba.dic

Interactive test:

$ hunspell -d yoruba
án
*
[Ctrl-D]

Best regards,
László


>
>
> Best Regards
> Jeje Abolaji
> No 11 oluyole way,Bodija,Ibadan,
> Oyo state,Nigeria.
>
>
>
> --- On Wed, 8/6/08, Daniel Naber <[EMAIL PROTECTED]> wrote:
> From: Daniel Naber <[EMAIL PROTECTED]>
> Subject: Re: [lingu-dev] ASSISTANCE IN  USING HUNSPELL
> To: [email protected]
> Date: Wednesday, August 6, 2008, 10:52 AM
>
> On Mittwoch, 6. August 2008, Sunday Bolaji wrote:
>
> >        Please assist me i want to use hunspell for spelling and i
> don't
> > know how to install and  how to use it. please i 'm assist me , i
> 'm new
> > in this forum.
>
> You can download the stand-alone version and its manual here:
> http://hunspell.sourceforge.net/
>
> If you want to use hunspell in OOo, there's nothing to do: it is already
> integrated by default.
>
> Regards
>  Daniel
>
> --
> http://www.danielnaber.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>

Reply via email to