Your message dated Mon, 19 Mar 2007 22:53:43 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#295985: myspell-pt-br: Wrong format for pt_BR.dic leads to 
wrong corrections
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: myspell-pt-br
Version: 2.4.really.3.0.beta4-7
Severity: important
Tags: patch



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages myspell-pt-br depends on:
ii  dictionaries-common        0.22.40sarge7 Common utilities for spelling dict

-- no debconf information

The pt_BR.dic file has several repeated roots
e.g.
outro/A
outro/B
in this way the second line is not considered by myspell and 'outros'
will be considered as mispelled.

Here after a program which transforms the actual pt_BR.dic in the
correct format.

#!/usr/bin/perl

$old = '';
while (<>)
{
  chomp;
  undef @all;
  $sufat='';
  @all = split /\//;
  $atual = $all[0];
  if ($all[1])
  { 
    shift @all;
    $sufat = join  '',@all;
  }
  if ($atual eq $old)
  {
    if ($sufat)
    {
      $sufold .= $sufat;
    }
  } else {
    if ($old) {
    if ($sufold)
    {
      print "$old/$sufold\n";
    } else {
      print "$old\n";
    }
    }
    $old = $atual;
    $sufold = $sufat;
  }
}

Thanks


--- End Message ---
--- Begin Message ---
* Rafael Laboissiere <[EMAIL PROTECTED]> [2007-02-09 14:31]:

> package myspell-pt-br
> tags 295985 moreinfo unreproducible
> thanks
> 
> * Michel Loos <[EMAIL PROTECTED]> [2005-02-19 12:01]:
> 
> > The pt_BR.dic file has several repeated roots
> > e.g.
> > outro/A
> > outro/B
> > in this way the second line is not considered by myspell and 'outros'
> > will be considered as mispelled.
> 
> I am revisiting this bug report.  I cannot reproduce the problem with
> oowriter.  See the attached screenshot.
> 
> I am using:
> 
>     myspell-pt-br 3.0~beta4-2
>     openoffice.org 2.0.4-7
> 
> I still see here:
> 
>     $ grep ^outro/ /usr/share/myspell/dicts/pt_BR.dic
>     outro/A
>     outro/B
> 
> If there is no reaction to this message in a reasonable amount of time (say,
> one month from now), I will close this bug report.

There was no reaction to the message above.  I am hereby closing this bug
report.  Feel free to reopen it if further evidence for the bug is given.
 
-- 
Rafael

--- End Message ---

Reply via email to