Thanks, it worked!

I have just committed it.

I must find the Internet page where there are other words that must be followed by a comma, for Portuguese.

Kind regards,
      >Marco A.G.Pinto
        -----------------------


On 24/02/2016 18:58, Yakov Reztsov wrote:

Hello, Мarco!
I am improved this rule:

   <!-- OU SEJA ou seja, -->
    <rule id="OU_SEJA" name="ou seja">
      <pattern>
        <marker>
          <token>ou</token>
          <token>seja</token>
        </marker>
          <token negate="yes">,</token>
      </pattern>
      <message>Usar vírgula: <suggestion>\1 \2,</suggestion></message>
<example correction="ou seja,"><marker>ou seja</marker> blablah</example>
    </rule>

And I tested it to local LanguageTool. And it worked well.
The old variant of this rule I make on community.languagetool.org, and it is not warning me about mistake.



    Среда, 24 февраля 2016, 13:00 UTC от "Marco A.G.Pinto" <>:

    Hello Yakov,

    This is what I managed to do, but it gives errors in TESTRULES PT:
    *    <!-- OU SEJA ou seja, -->**
    **    <rule id="OU_SEJA" name="ou seja">**
    **      <pattern>**
    **        <token>ou</token>**
    **        <token>seja</token>**
    **        <token negate="yes">,</token>**
    **      </pattern>**
    **      <message>Usar vírgula: <suggestion>\1
    \2,</suggestion></message>**
    **      <example correction="ou seja,"><marker>ou
    seja</marker></example>**
    **    </rule>*

    What am I doing wrong?

    I have made several attempts.

    Thanks!

    Kind regards,
         >Marco A.G.Pinto
           ------------------------


    On 24/02/2016 11:51, Yakov Reztsov wrote:
    Hello, Marco!

    You can make rule like this:



    <rule id="OU_SEJA" name="ou seja">
     <pattern>
         <token>ou</token>
         <token>seja</token>
         <token negate="yes">,</token>
     </pattern>
     <message>Error: <suggestion>\1 \2,</suggestion></message>
     <short>Error</short>
     <example correction='ou seja, blah'>ou seja blah</example>
    </rule>



        Среда, 24 февраля 2016, 9:55 UTC от "Marco A.G.Pinto"

        Hello!

        How do I make LanguageTool suggest commas in rules?

        I was just working on my thesis and when I wrote:
        "ou seja blah blah"

        Microsoft Word 2016 suggested:
        "ou seja," (with a comma).


        Thanks!

        Kind regards,
               >Marco A.G.Pinto
                 -----------------------


-- https://lists.sourceforge.net/lists/listinfo/languagetool-devel


--


--

--

Yakov Reztsov


--
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to