[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    RE: [aspell-user] Aspell is running very slow on my box.
From:       Kevin Atkinson <kevin () atkinson ! dhs ! org>
Date:       2001-11-15 7:37:04
Message-ID: Pine.LNX.4.33L2.0111151026580.22342-200000 () kevin ! inet
[Download RAW message or body]

On Thu, 15 Nov 2001, Daniel Crown wrote:

> Is it possible that you improve the suggestion time of aspell?   There
> are several programs that call the old ispell through a pipe, and when
> they are used on new OS that come with aspell the performance is
> considerably decreased.

Yes it is possible.  See section 5.4.5 of the manual.  Unfortunately the
released version of Aspell has a bug in which it will not work with the
ultra mode or when ever typo-analysis is not used.  The attached patch
will fix the problem.

The URL filter which is enabled by default also slows things down.  See
section 5.4.2 for more information about disabling it.

You may also want to combine the "multi" dictionaries into one hash table.
See chapter 4 for more information about that.

Let me know if you can get acceptable performance and what options you
used.

Thanks.
KevinA




["suggest.diff" (TEXT/PLAIN)]

*** lib/suggest.cc~	Wed Aug  1 03:40:49 2001
--- lib/suggest.cc	Fri Nov  9 00:10:16 2001
***************
*** 455,461 ****
    void Working::score_list() {
      if (near_misses.empty()) return;
  
!     bool no_soundslike = strcmp(manager->lang().soundslike_name(), "none") != 0;
  
      if (parms.use_typo_analysis) {
        
--- 455,461 ----
    void Working::score_list() {
      if (near_misses.empty()) return;
  
!     bool no_soundslike = strcmp(manager->lang().soundslike_name(), "none") == 0;
  
      if (parms.use_typo_analysis) {
        


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic