Bugs item #3588147, was opened at 2012-11-17 02:27
Message generated for change (Tracker Item Submitted) made by dominikoeo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3588147&group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Problem with German
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dominique Pelle (dominikoeo)
Assigned to: Daniel Naber (dnaber)
Summary: Incorrect regexp in German de/grammar.xml

Initial Comment:
Consider the following German grammar rule:

        <rulegroup id="LEERE_DROHUNG" name="Möglicher Tippfehler: 'lehre 
(leere) Drohungen' etc.">
            <rule>
                <pattern case_sensitive="yes">
                    <token 
regexp="yes">(k)eine|diese|(&meindein;)e|nur|bloß</token>
                    <marker>
                        <token regexp="yes">lehren?</token>
                    </marker>
                    <token regexp="yes">(Versprech|Droh)ung(en)?</token>
                </pattern>

The regexp "(k)eine|diese|(&meindein;)e|nur|bloß" is incorrect.
At least he capturing parenthesis are useless there.
I assume that it was meant to make the first character optional.  If so, it 
should be:

"k?eine|diese|(&meindein;)e|nur|bloß"

I also see the same kind of error in:

<token regexp="yes">heilige(n)</token>

... which should probably be:

<token regexp="yes">heiligen?</token>

Also:

<token 
regexp="yes">(verdächtige|überlebende|verbündete|obdachlose|angestellte|abgeordnete|jugendliche)(n)</token>

should be:

<token 
regexp="yes">(verdächtige|überlebende|verbündete|obdachlose|angestellte|abgeordnete|jugendliche)n?</token>



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3588147&group_id=110216

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to