Hi

On 15 April 2016 at 14:27, Jaume Ortolà i Font <jaumeort...@gmail.com>
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 <juan.martor...@gmail.com>:
>
>> Hi,
>>
>> I created a script
>> <https://github.com/jmartorell/LTlab/blob/master/dict/dictionary.sh>
>> based on instructions stated in our wiki Developing a tagger dictionary
>> <http://wiki.languagetool.org/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.<init>(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

Reply via email to