Re: new feature: show examples on languagetool.org

2016-01-20 Thread Dominique Pellé
Daniel Naber  wrote:
> On 2016-01-21 04:22, Dominique Pellé wrote:
>
>> It's still wrong in a different way now:
>> I no longer see the correct examples if I click
>> on "Examples..." for the word "ankaux" in
>> https://languagetool.org/eo/
>
> It just shows a correction if there's a non-empty 'correction' attribute
> for the example. Only this way we can show pairs of correct/incorrect
> sentences. Showing correct sentences without incorrect ones doesn't seem
> to make much sense, as these are often added to avoid false alarms, i.e.
> they are more useful internally.

I see.  This Esperanto rule (X_SISTEMO) does not propose
suggestions indeed.  I'd like to add suggestions to it, but
I don't see how to do it.  The suggestion would need to
replace:

cx → ĉ
gx → ĝ
hx → ĥ
jx → ĵ
sx → ŝ
u → ŭ

... but I don't think it's possible to do such a substitution with a

Or am I missing something?

Regards
Dominique

--
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=267308311&iu=/4140
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: new feature: show examples on languagetool.org

2016-01-20 Thread Daniel Naber
On 2016-01-21 04:22, Dominique Pellé wrote:

> It's still wrong in a different way now:
> I no longer see the correct examples if I click
> on "Examples..." for the word "ankaux" in
> https://languagetool.org/eo/

It just shows a correction if there's a non-empty 'correction' attribute 
for the example. Only this way we can show pairs of correct/incorrect 
sentences. Showing correct sentences without incorrect ones doesn't seem 
to make much sense, as these are often added to avoid false alarms, i.e. 
they are more useful internally.

Regards
  Daniel


--
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=267308311&iu=/4140
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: new feature: show examples on languagetool.org

2016-01-20 Thread Dominique Pellé
Daniel Naber  wrote:

> On 2016-01-20 18:13, Dominique Pellé wrote:
>
> Hi Dominique,
>
> thanks for testing.
>
>> I see a bug though.  Going to https://languagetool.org/eo/
>> then clicking on the highlighted error "ankaux"
>> I notice that all the correct examples (with a green
>> check icon) are missing the word which is in between
>> 
>
> It got confused by empty 'correction' attributes, should be fixed now.


Hi Daniel

It's still wrong in a different way now:
I no longer see the correct examples if I click
on "Examples..." for the word "ankaux" in
https://languagetool.org/eo/

Regards
Dominique

--
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=267308311&iu=/4140
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: new feature: show examples on languagetool.org

2016-01-20 Thread Martin Srebotnjak
Hi,

Slovenian (sl) strings are:

"Primeri ..."
"Žal za to napako ni primerov."

Also, I see string: "Rule implementation..."
which should be translated as
"Implementacija pravila ..."

Lp, m.


2016-01-20 17:50 GMT+01:00 Daniel Naber :

> Hi,
>
> I've added a new feature on https://languagetool.org: in the menu of
> every error you can now open a dialog that shows some examples of the
> error. Note that a few rules don't have examples (Java rules - the XML
> rules should all have at least one) and we don't show a correction if
> there's more than one suggestion as maybe they're not all correct.
>
> If you want to translate the menu item and the "sorry, no examples"
> message to your language you can do so here:
>
> https://github.com/languagetool-org/languagetool-website/blob/master/include/header.php#L294-L306
> ...or just send me the two strings.
>
> Regards
>   Daniel
>
>
>
> --
> 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=267308311&iu=/4140
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
--
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=267308311&iu=/4140___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: new feature: show examples on languagetool.org

2016-01-20 Thread Daniel Naber
On 2016-01-20 18:13, Dominique Pellé wrote:

Hi Dominique,

thanks for testing.

> I see a bug though.  Going to https://languagetool.org/eo/
> then clicking on the highlighted error "ankaux"
> I notice that all the correct examples (with a green
> check icon) are missing the word which is in between
> 

It got confused by empty 'correction' attributes, should be fixed now.

> I also have a suggestion: in the incorrect examples, we could
> highlight the errors. It's best not to highlight what's in between
> ... for correct examples.

I've done that now, I guess it looks better indeed.

Regards
  Daniel


--
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=267308311&iu=/4140
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: new feature: show examples on languagetool.org

2016-01-20 Thread Marco A.G.Pinto

Hello Daniel,

The two strings translated to pt_PT:
"Exemplos..."

"Desculpa, não encontrámos exemplos para esta regra."



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


On 20/01/2016 16:50, Daniel Naber wrote:

Hi,

I've added a new feature on https://languagetool.org: in the menu of
every error you can now open a dialog that shows some examples of the
error. Note that a few rules don't have examples (Java rules - the XML
rules should all have at least one) and we don't show a correction if
there's more than one suggestion as maybe they're not all correct.

If you want to translate the menu item and the "sorry, no examples"
message to your language you can do so here:
https://github.com/languagetool-org/languagetool-website/blob/master/include/header.php#L294-L306
...or just send me the two strings.

Regards
   Daniel





--
--
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=267308311&iu=/4140___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: new feature: show examples on languagetool.org

2016-01-20 Thread Dominique Pellé
Daniel Naber  wrote:
> Hi,
>
> I've added a new feature on https://languagetool.org: in the menu of
> every error you can now open a dialog that shows some examples of the
> error. Note that a few rules don't have examples (Java rules - the XML
> rules should all have at least one) and we don't show a correction if
> there's more than one suggestion as maybe they're not all correct.
>
> If you want to translate the menu item and the "sorry, no examples"
> message to your language you can do so here:
> https://github.com/languagetool-org/languagetool-website/blob/master/include/header.php#L294-L306
> ...or just send me the two strings.

Hi Daniel.

Nice addition.

I see a bug though.  Going to https://languagetool.org/eo/
then clicking on the highlighted error "ankaux"
I notice that all the correct examples (with a green
check icon) are missing the word which is in between
  For example, Esperanto XML
rule X_SISTEMO contains the correct example:

Ĉi tiu frazo uzas Unikodon.

... but the web page merely shows:

"tiu frazo ne uzas Unikodon."

I also have a suggestion: in the incorrect examples, we could
highlight the errors. It's best not to highlight what's in between
... for correct examples.

Regards
Dominique

--
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=267308311&iu=/4140
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel