Posibility of adding a .zip file in the dictionary definition.
Parameter -l ---> Dictionary List definitions. A lists.def Gate-formatted file separated by tab can be provided or a zip file that contains the dictionary/gazetteer files including the lists.def
-ia Input Annotation Set. If you want to provided different input annotation, set this parameter. By default the -a output annotation set is used as input.
</p>
<p>
-l list definition of the dictionary in GATE format.
-l Dictionary List definitions. A lists.def Gate-formatted file separated by tab can be provided or a zip file that contains the dictionary/gazetteer files including the lists.def
</p>
<p>
-j main.jape path with the JAPE rules to be executed.
OptionlistDefinitions=newOption("l","lists_definitions",true,"Dictionary List definitions, Gate format.");
OptionlistDefinitions=newOption("l","lists_definitions",true,"Dictionary List definitions. "
+"A lists.def Gate-formatted file separated by tab can be provided or a zip file that contains the dictionary/gazetteer files including the lists.def ");
listDefinitions.setRequired(false);
options.addOption(listDefinitions);
...
...
@@ -106,13 +110,34 @@ public class App {
System.out.println("No dictionary was provided.");
System.out.println("Please set a correct path to the list of dictionaries to annotate");
System.out.println("Please set the list of dictionaries to annotate. You can provide the list.def file or a zip file. Please if you provided a zip file remember that it must contain a list.def file inside");
System.out.println("Error unziping file, please review if you zip file provided is not corrupt file remember that it must contain a list.def file inside.");