#52 ITALIAN: name/article concordance

1.0
closed-fixed
5
2010-07-19
2010-02-23
No

"Un gruppo" is marked as wrong
"Uno gruppo" is suggested as correct

it should be the other way round.

Discussion

  • Paolo Bianchini

    Paolo Bianchini - 2010-02-23

    I verified that it is a bug,

    For a quick fix verification replace the rule for UNO with these lines.

    <!-- uno -->
    <rule>
    <pattern >
    <token regexp="yes">un|una</token>
    <token postag="NOUN-M.s" postag_regexp="yes" regexp="yes">[zx].*|s[bcdfghlmnpqrstv].*|p[ns].*|gn.*|[iy][aeiou].*<exception postag="(NOUN-M.p)|(NOUN-F.s)" postag_regexp="yes"/></token>
    </pattern>
    <message>L'articolo non concorda: <suggestion>uno <match no="2" /></suggestion>.</message>
    <example type="incorrect">Devi andare da <marker>un psicologo</marker>.</example>
    <example type="correct">Devi andare da <marker>uno psicologo</marker>.</example>
    </rule>

    I will send an updated grammar file as soon as I can.

    Ciao

     
  • Paolo Bianchini

    Paolo Bianchini - 2010-02-23
    • status: open --> open-accepted
     
  • Paolo Bianchini

    Paolo Bianchini - 2010-02-23

    Hi I've attached a grammar file with the fix. Please let me know if it resolves.

     
  • Paolo Bianchini

    Paolo Bianchini - 2010-02-23

    grammar file for Italian with fix to un/uno problem

     
    Attachments
  • Sergio Callegari

    Made a quick test, fixed!

    Thanks!

    Sergio

     
  • Paolo Bianchini

    Paolo Bianchini - 2010-04-02
    • status: open-accepted --> open-fixed
     
  • Paolo Bianchini

    Paolo Bianchini - 2010-07-19

    I'm closing this one a per email received by Sergio confirming that the attached fix resolves. danile please commit changes if you haven't already.

     
  • Paolo Bianchini

    Paolo Bianchini - 2010-07-19
    • status: open-fixed --> closed-fixed
     
  • Daniel Naber

    Daniel Naber - 2010-07-21

    Thanks, the patch has been commited some time ago.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks