Hi Adnriy,
This was added in version 2.1.
-rule syntax: Suggestions are now also allowed outside the <message>
element. Example:
<message>Did you mean <suggestion>A</suggestion>?<message>
<suggestion>B</suggestion>
<suggestion>C</suggestion>
<example type="incorrect"
correction="A|B|C"><marker>asdf</marker></example>
A further advantage of this syntax is that this way the message doesn't get
too long. I hope it will be useful.
Regards,
Jaume Ortolà
2013/9/25 Andriy Rysin <[email protected]>
> Sometimes in the rule file the suggestions in the message element get
> pretty long (especially if I am trying to inflect suggestion similar
> to original word) so if I have multiple suggestions it would be much
> nicer if they could be split on multiple lines. The problem is that if
> I insert newline before new suggestion this new line (and indent
> spaces) are inserted into the message.
> Currently I have a workaround by inserting new line inside suggestion
> xml tag, but that's ugly, so I was wondering if there's better way to
> do it.
>
> Thanks
> Andriy
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Languagetool-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel