Feature #1569
RCP: X.X, import parameters of properties files
Status: | New | Start date: | 10/02/2015 | ||
---|---|---|---|---|---|
Priority: | Normal | Due date: | |||
Assignee: | - | % Done: | 80% |
||
Category: | Import | Spent time: | - | ||
Target version: | TXM 0.7.8 |
Description
Stop using properties file to store key-value parameters
Solution¶
The import.xml file has a new section "parameters" that allows to store key-value parameters.
This feature is used only in the XTZ import module with the following new import parameters:- CLEAN = "clean.directories"
- if CLEAN=true, the temporary files created of import steps are deleted at the end of the step
- importer : remove the "tokenized" directory
- annotate : remove the "treetagger" and "annotations" directories
- compiler : remove the "wtc" directory
- if CLEAN=true, the temporary files created of import steps are deleted at the end of the step
- MULTITHREAD = "multithread"
- if MULTITHREAD=true
- compiler and pager steps are threaded
- TreeTagger annotation is threaded with N thread (N the number of cores)
- if MULTITHREAD=true
- DEBUG = "debug"
- if DEBUG=true : more diagnose messages (cwb-encode, cwb-makeall, etc.)
- UPDATECORPUS = "corpus.update"
- if UPDATECORPUS=true importer and annotate steps are ignored
By default all these parameters are set to "false" \o/
Validation test¶
None, done by other tickets.
History
#1 Updated by Matthieu Decorde almost 8 years ago
- Description updated (diff)
- % Done changed from 0 to 80
#2 Updated by Matthieu Decorde about 7 years ago
- Description updated (diff)