Thanks Eleonora, but it seems There is something seriously wrong here :)

[EMAIL PROTECTED] tools $ example ~/turkish.aff ~/turkish.dic ~/test.txt
"kediler" is okay

"kedilar" is incorrect!
   suggestions:
    ..."kediler"
    ..."kedi"
    ..."elmalar"
    ..."dolaplar"
    ..."dolap"

"kedilere" is okay

"kedilera" is okay


My OS is Pardus 2007.3 , I compiled hunspell myself, I am not sure what is
the difference between our systems.

Maybe example application is using systems default installed hunspell
library which is probably still the old version on your machine? can you
first uninstall hunspell completeley, make uninstall, then make a fresh
install with hunspell 1.2.7 ?

Mehmet


On Mon, Sep 22, 2008 at 11:57 PM, ge <[EMAIL PROTECTED]> wrote:

> Mehmet:
>
> I downloaded and compiled hunspell 1.2.7 freshly, I still get correct
> results:
> [EMAIL PROTECTED]:~/program/hunspell-1.2.7/src/tools$ example /tmp/turkish.aff
> /tmp/turkish.dic /tmp/x1
> "kedi" is okay
> "kediler" is okay
> "kedilere" is okay
> "kedilera" is incorrect!
>   suggestions:
>    ..."kediler"
> "kedilar" is incorrect!
>   suggestions:
>    ..."kedi"
>    ..."elmalar"
>    ..."dolaplar"
>    ..."dolap"
> "kedilara" is incorrect!
>   suggestions:
>    ..."kedi"
> "elma" is okay
> "elmalar" is okay
> "elmalara" is okay
> "elmaler" is incorrect!
>   suggestions:
>    ..."elma"
>    ..."kediler"
> "elmalere" is incorrect!
>   suggestions:
>    ..."elma"
> "elmalera" is incorrect!
>   suggestions:
>    ..."elma"
> "elmalare" is incorrect!
>   suggestions:
>    ..."elmalar"
>
> Could you try you words using example? It gets automatically
> built after make, so you should have it. (in src/tools)
>
> Hunspell manual says:
> (http://sourceforge.net/docman/display_doc.php?docid=90720&group_id=143754
> )
> Correct words signed with an -*-, -+- or ---, unrecognized words signed
> with -#- or -&- in output lines (see later). (Close the standard input with
> Ctrl-d on Unix/Linux and Ctrl-Z Enter or Ctrl-C on Windows.)
>
> Therefore you are right, hunspell library gives an incorrect output for
> kedilera, however example works perfectly with hunspell 1.2.7 on linux, at
> least for me.
>
> If you instruct me, how to configure hunspell properly, I can repeat the
> test with hunspell. (I use example all the time here, never hunspell as you
> do).
>
>
> -eleonora
>
>
> Hi,
>
> Thanks a lot for testing. The weird thing is, I am using Hunspell 1.2.7 and
> , though your test results show that my aff file is correct, my results
> with
> Hunspell on Linux  still gives me wrong results:
>
> test.txt:
>
> kediler
> kedilar
> kedilere
> kedilera
>
>
> [EMAIL PROTECTED] ~ $ hunspell -d turkish < test.txt
> Hunspell 1.2.7
> + kedi
>
> & kedilar 2 0: kediler, kedi
>
> + kedi
>
> + kedi
>
> So it still thinks kedilera is correct. Could this be a regression in the
> new version? Can anyone with hunspell 1.2.7 confirm this?
>
> Mehmet
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to