Feature #2923
Mis à jour par Matthieu Decorde il y a presque 5 ans
Currently, the w@ref property values are used to build the concordance reference column content by default.
This limits the default reference values choice to the corpus sources preparation process, before the import process.
We should help the user to set the defaut reference values during and after the import process.
h3. Solution 1: add two corpus parameters/registries
Add two new corpus parameters to allow the user to dynamically set the default reference values:
* referenceProperties: list of word properties and structures properties to use, separated by a comma (same set as for the concordance sort keys)
* referencePattern: sprintf pattern to use to build a reference. There must be as many '@%@' directives as properties to use.
Also add to the concordance editor parameters :
* in the reference view dialog :
** a new Text widget titled "pattern/format"
** highlighted in RED, if the selected properties number and the %s pattern number differs
* in the properties table the pattern next to the "..." button of the view properties
see https://groupes.renater.fr/wiki/txm-info/public/specs_concordance#references
h3. Solution 2: add two corpus import parameters
Add the same corpus import parameters to all XML-based import modules:
* in the "Commands" section
* in a "Concordance" sub-section
* the two import parameters drive the two previous corpus parameters/registries
This limits the default reference values choice to the corpus sources preparation process, before the import process.
We should help the user to set the defaut reference values during and after the import process.
h3. Solution 1: add two corpus parameters/registries
Add two new corpus parameters to allow the user to dynamically set the default reference values:
* referenceProperties: list of word properties and structures properties to use, separated by a comma (same set as for the concordance sort keys)
* referencePattern: sprintf pattern to use to build a reference. There must be as many '@%@' directives as properties to use.
Also add to the concordance editor parameters :
* in the reference view dialog :
** a new Text widget titled "pattern/format"
** highlighted in RED, if the selected properties number and the %s pattern number differs
* in the properties table the pattern next to the "..." button of the view properties
see https://groupes.renater.fr/wiki/txm-info/public/specs_concordance#references
h3. Solution 2: add two corpus import parameters
Add the same corpus import parameters to all XML-based import modules:
* in the "Commands" section
* in a "Concordance" sub-section
* the two import parameters drive the two previous corpus parameters/registries