Re: please introduce category IDs

2016-03-20 Thread Daniel Naber
On 2016-03-17 20:43, Andriy Rysin wrote:

> I have two categories for Ukrainian that don't quite fall into
> predefined ones: barbarisms and spelling (this is spelling errors that
> are not easily caught by the spell-checker: e.g. abbreviations with or
> without dots).

I think "missing dots" almost falls into the TYPOGRAPHY category, or 
otherwise into TYPOS. For barbarisms, feel free to add it with a precise 
definition in the javadoc.

Regards
  Daniel


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: please introduce category IDs

2016-03-01 Thread Daniel Naber
On 2016-03-01 20:59, Marco A.G.Pinto wrote:

>  Replacing:
>  
> 
>  with:
>  

No, just replace

   

with

   

etc.

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


Re: please introduce category IDs

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

Daniel,

Does this mean I should do a replacement like this:
***
****
**  **
**à**
**bocado**
**  **
**  Substituir «à bocado» por há 
bocado.**
**  Cheguei à 
bocado do Algarve.**

***

Replacing:
**

with:
**
?

Is this the correct procedure?

Thanks!

Kind regards,
 >Marco A.G.Pinto
   


On 01/03/2016 13:13, Daniel Naber wrote:

Hi,

I've added new options to the command-line LT so users can turn on/off
categories (--enablecategories, --disablecategories). For this, I've
introduced an 'id' attribute to s, just like for s. If
you maintain a language, please add id="..." to all categories, e.g.
like this:



There's no static set of categories, but I still suggest you try to use
these and only come up with your own in case these don't cover your
categories:
https://github.com/languagetool-org/languagetool/blob/master/languagetool-core/src/main/java/org/languagetool/rules/CategoryIds.java#L27-L44

I suggest we use all uppercase names and no special characters, just
like for the rule ids. Currently, these ids are optional, but I'd like
to make them non-optional to avoid confusion. Also, please add category
ids for your Java rules. The code in the constructor changes like this:

super.setCategory(new Category(messages.getString("category_grammar")));
=>
super.setCategory(new Category(Categories.MISC,
messages.getString("category_grammar")));

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


please introduce category IDs

2016-03-01 Thread Daniel Naber
Hi,

I've added new options to the command-line LT so users can turn on/off 
categories (--enablecategories, --disablecategories). For this, I've 
introduced an 'id' attribute to s, just like for s. If 
you maintain a language, please add id="..." to all categories, e.g. 
like this:

   

There's no static set of categories, but I still suggest you try to use 
these and only come up with your own in case these don't cover your 
categories: 
https://github.com/languagetool-org/languagetool/blob/master/languagetool-core/src/main/java/org/languagetool/rules/CategoryIds.java#L27-L44

I suggest we use all uppercase names and no special characters, just 
like for the rule ids. Currently, these ids are optional, but I'd like 
to make them non-optional to avoid confusion. Also, please add category 
ids for your Java rules. The code in the constructor changes like this:

super.setCategory(new Category(messages.getString("category_grammar")));
=>
super.setCategory(new Category(Categories.MISC, 
messages.getString("category_grammar")));

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