Re: prototype of new rule editor

2014-03-17 Thread Marcin Miłkowski
W dniu 2014-03-17 20:44, Daniel Naber pisze:
> On 2014-03-17 19:15, gulp21 wrote:
>
>> Some suggestions that came to my mind while testing the editor:
>> * add a link to the documentation of the POS tags of the chosen
>> language
>> (or even better: offer autocompletion)
>
> Or even better: stop treating POS tags as strings, so we don't need
> regex anymore for them. For example, a plural noun could be "noun
> number=plural". Developing such a structure isn't trivial, though.

I think the only thing we need to think through is how to represent this 
cleanly in XML. The rest is rather simple, and requires just parsing 
structural XML.

The old editor does not support unification, and neither this one. This 
is really bad for languages that use this tool (btw, German could really 
have easy disambiguation using unification; I can help).

>
>> * warn when a word looks like a regexp or POS tag and the wrong type is
>> chosen
>
> Done for regex (not yet deployed). I haven't mentioned yet that we're
> using a new technology for this editor: AngularJS. While the back-end is
> still developed in Grails (thus, it's basically Java), Angular makes
> developing the front-end much easier. We even have unit tests for the
> front-end now!
>
> If you have ever used Javascript, I strongly recommend you have a look
> at http://angularjs.org. Especially when you hate Javascript.

Huh, I can't believe it. ;)

Regards,
  Marcin

>
> Regards
>Daniel
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
>


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: prototype of new rule editor

2014-03-17 Thread Daniel Naber
On 2014-03-17 19:15, gulp21 wrote:

> Some suggestions that came to my mind while testing the editor:
> * add a link to the documentation of the POS tags of the chosen 
> language
> (or even better: offer autocompletion)

Or even better: stop treating POS tags as strings, so we don't need 
regex anymore for them. For example, a plural noun could be "noun 
number=plural". Developing such a structure isn't trivial, though.

> * warn when a word looks like a regexp or POS tag and the wrong type is
> chosen

Done for regex (not yet deployed). I haven't mentioned yet that we're 
using a new technology for this editor: AngularJS. While the back-end is 
still developed in Grails (thus, it's basically Java), Angular makes 
developing the front-end much easier. We even have unit tests for the 
front-end now!

If you have ever used Javascript, I strongly recommend you have a look 
at http://angularjs.org. Especially when you hate Javascript.

Regards
  Daniel


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: prototype of new rule editor

2014-03-17 Thread gulp21
That already looks amazing! Why didn’t we have that two years ago?

Some suggestions that came to my mind while testing the editor:
* add a link to the documentation of the POS tags of the chosen language
(or even better: offer autocompletion)
* warn when a word looks like a regexp or POS tag and the wrong type is
chosen

Regards
Markus

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Translation for LanguageToolFx

2014-03-17 Thread gulp21
Hi,

Please update your translations for LanguageToolFx at transifex[1]
(three new strings), so that it can be released with LT 2.5.

Regards
Markus

[1]
https://www.transifex.com/projects/p/languagetool/resource/firefox-extension/

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


prototype of new rule editor

2014-03-17 Thread Daniel Naber
Hi,

there's now a prototype of a new rule editor available at 
http://community.languagetool.org/ruleEditor2/. Main features are:

* Checks the example sentence against known errors so nobody wastes time 
writing a rule that already exists

* Has text analysis (POS tags, lemmas, chunks) integrated

* Checks rule against a part of the Wikipedia/Tatoeba corpus to help 
avoid false alarms

The basic workflow idea is to start with two example sentences, a wrong 
one and its corrected version. A (trivial) pattern is then generated 
automatically, which is just the word(s) that differ in the wrong and 
corrected sentence. The user then needs to add more tokens to make the 
rule complete. Finally, it is checked against Wikipedia/Tatoeba.

Several things are not supported yes, but please give it a try anyway.

Regards
  Daniel


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


reminder: upcoming feature freeze

2014-03-17 Thread Daniel Naber
Hi,

just a reminder about the upcoming feature freeze for LT 2.5:

feature freeze: 2014-03-21
release: 2014-03-31

Regards
  Daniel


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel