aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aspell-user] Reg. performance of suggestions


From: Kevin Atkinson
Subject: Re: [Aspell-user] Reg. performance of suggestions
Date: Tue, 19 Jul 2005 11:19:14 -0600 (MDT)

On Mon, 18 Jul 2005, Ananda Kumar C wrote:

> Thanks a lot for your input. The performance has grown now, but I have an
> interesting observation.
> I had run my tests against both the 0.60.3 and 0.60.2 versions. My test
> program randomly picks up a word from a really huge list of words (around
> 1.2 M words) and tests the words for correct spelling.
> If a word is misspelt, I get the suggestions. The sug-mode config is now
> set to ultra.I run this test until I get around 500 misspelt words.
> 
> The results are as follows :
> +--------------------------+-----------------+------------------+
> |                          | ver. 0.60.3     | ver. 0.60.2      |
> +--------------------------+-----------------+------------------+
> |Avg. time for checking    |    17 microsecs |    6 microsecs   |
> |Avg. time for suggesting  |  2087 microsecs | 1029 microsecs   |
> +--------------------------+-----------------+------------------+

Those are not the results I am getting:

ver. 0.60.2:
  check avg: 13
  sug avg: 4861

ver. 0.60.3:
  check avg: 13
  sug avg: 3884

I modified your program a bit to print the average at the end.  Attached 
is a modified copy.

I don't know why you are getting worse results with Aspell 0.60.3.  You 
should't.

I am using Gcc 3.2.2  20030222 (Red Hat Linux 3.2.2-5)



Attachment: spell_time.cpp
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]