fun

2016-04-18 Thread Daniel Naber

http://starlogs.net/#languagetool-org/languagetool


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: Website integration for LT

2016-04-18 Thread Daniel Naber
On 2016-04-18 21:11, Andriy Rysin wrote:

> I followed http://wiki.languagetool.org/integration-on-websites,
> although I set it up long time ago so my steps may have been slightly
> different.

So you're using proxy.php, aren't you? Very soon (hopefully tomorrow) 
I'll update the documentation anyway, as the proxy.php isn't needed 
anymore as long as the server gets started with the proper parameters. 
We're using this direct connection from the user's browser to the LT 
server on languagetool.org now for a few days and it seems to work fine. 
This might also solve the error message problem.

Regards
  Daniel


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: Website integration for LT

2016-04-18 Thread Andriy Rysin
I followed http://wiki.languagetool.org/integration-on-websites,
although I set it up long time ago so my steps may have been slightly
different.
I don't have a URL that does not work, it works perfectly when it's
configured right (e.g. at http://r2u.org.ua/check).
The simplest scenario is when I upgrade LT jars but forget to update
some dependency. E.g.: I remove morfologik-speller.jar (to simulate
internal error) and start the LT server. It starts just fine, but when
I check the text (via webpage) there's exception in the log:
java.util.concurrent.ExecutionException:
java.lang.NoClassDefFoundError: morfologik/speller/Speller
 ...

But on the webpage itself the check is finished and there's no error -
it just looks like text didn't have any errors.

Regards,
Andriy

2016-04-18 15:00 GMT-04:00 Daniel Naber :
> On 2016-04-18 19:58, Andriy Rysin wrote:
>
> Hi Andriy,
>
>> I noticed that when I integrate LT on the website and some internal
>> error occurs (e.g. missing jars, out of memory etc) there's no
>> notification to the user and it comes back like text does not have any
>> errors.
>
> how exactly do you integrate LT? Can you post an example URL that throws
> an error that's not visible?
>
> Regards
>   Daniel
>
>
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: Website integration for LT

2016-04-18 Thread Daniel Naber
On 2016-04-18 19:58, Andriy Rysin wrote:

Hi Andriy,

> I noticed that when I integrate LT on the website and some internal
> error occurs (e.g. missing jars, out of memory etc) there's no
> notification to the user and it comes back like text does not have any
> errors.

how exactly do you integrate LT? Can you post an example URL that throws 
an error that's not visible?

Regards
  Daniel


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Website integration for LT

2016-04-18 Thread Andriy Rysin
I noticed that when I integrate LT on the website and some internal
error occurs (e.g. missing jars, out of memory etc) there's no
notification to the user and it comes back like text does not have any
errors.

Is it just for me and I need to adjust something or is it a behavior
we could improve?

Thanks
Andriy

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: DictionaryExporter error

2016-04-18 Thread Jaume Ortolà i Font
2016-04-18 10:27 GMT+02:00 Juan Martorell :

> Hi
>
> On 15 April 2016 at 14:27, Jaume Ortolà i Font 
> wrote:
>
>>
>> This is fixed now.
>>
>> In the last update of these tools, I tried not to change the input and
>> ouput formats. But the use of "*" as a separator was an unexpeted choice.
>>
>> Regards,
>> Jaume Ortolà
>>
>
> Thank you for the update Jaume.
>
> "*" to me seemed a reasonable choice since "+" was used for separating the
> word "del". The underscore may be a better alternative, but I thought it
> was better to reserve it for tagging. I chose "*" because I know I will
> never use it in a POS to avoid confusion with wilcards. Does anyone have a
> reason why asterisk is not good choice as separator?
>

In the code we use a split method that takes a regexp as an argument (for
replacing the separators by tabs). I was not aware of this, and the
asterisk, as a reserved character in regexp, caused an error. It was a bug
and now it is fixed. That's all. I don't see further problems.

Jaume
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: DictionaryExporter error

2016-04-18 Thread Juan Martorell
Hi

On 15 April 2016 at 14:27, Jaume Ortolà i Font 
wrote:

>
> This is fixed now.
>
> In the last update of these tools, I tried not to change the input and
> ouput formats. But the use of "*" as a separator was an unexpeted choice.
>
> Regards,
> Jaume Ortolà
>

Thank you for the update Jaume.

"*" to me seemed a reasonable choice since "+" was used for separating the
word "del". The underscore may be a better alternative, but I thought it
was better to reserve it for tagging. I chose "*" because I know I will
never use it in a POS to avoid confusion with wilcards. Does anyone have a
reason why asterisk is not good choice as separator?


>
>
> 2016-04-15 11:51 GMT+02:00 Juan Martorell :
>
>> Hi,
>>
>> I created a script
>> 
>> based on instructions stated in our wiki Developing a tagger dictionary
>> .
>>
>> $ ./dictionary.sh export
>> Running Morfologik DictDecompile.main with these options: [--exit, false,
>> -i,
>> ../languagetool/languagetool-language-modules/es/src/main/resources/org/languagetool/resource/es/spanish.dict,
>> -o, /tmp/DictionaryExporter_separator5715968456278753583.txt, --overwrite]
>> Exception in thread "main" java.util.regex.PatternSyntaxException:
>> Dangling meta character '*' near index 0
>> *
>> ^
>> at java.util.regex.Pattern.error(Pattern.java:1955)
>> at java.util.regex.Pattern.sequence(Pattern.java:2123)
>> at java.util.regex.Pattern.expr(Pattern.java:1996)
>> at java.util.regex.Pattern.compile(Pattern.java:1696)
>> at java.util.regex.Pattern.(Pattern.java:1351)
>> at java.util.regex.Pattern.compile(Pattern.java:1028)
>> at java.lang.String.split(String.java:2380)
>> at java.lang.String.split(String.java:2422)
>> at
>> org.languagetool.tools.DictionaryExporter.outputSeparatorToTab(DictionaryExporter.java:99)
>> at
>> org.languagetool.tools.DictionaryExporter.build(DictionaryExporter.java:81)
>> at
>> org.languagetool.tools.DictionaryExporter.main(DictionaryExporter.java:58)
>>
>>
>> I was using '*' as a separator (probably a bad idea, as it seems) so it
>> looks like I am locked out.
>>
>> 1) Can anyone help me to use the feature to dump the dictionary?
>>
>> 2) Is there any predictable and repeatable way to script this actions?
>> Every time we release a new version I have to recreate the links. 
>> languagetool.jar
>> is stable but files and jars with version require discovery every release.
>>
>> 3) Could the people who made the changes update the Wiki so it reflects
>> the current status and usage?
>>
>>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel