Feature #1640

TBX: X.X, empty property value code

Ajouté par Serge Heiden il y a plus de 9 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:21/01/2016
Priorité:Normal Echéance:
Assigné à:Benedicte Pincemin % réalisé:

100%

Catégorie:Preferences Temps passé: -
Version cible:TXM 0.7.8

Description

Currently, empty or missing word properties are encoded by default by '__UNDEF__' in cwb-encode.

The user should be able to choose the code.

Solution

Create a new global Preference (in the Import section) named 'Empty property value code' (emptyPropertyValueCode for insiders).

Validation test

  • import a short corpus with XML/w or XTZ import module
    <test>
    <w t="1">very</w>
    <w t="">small</w>
    <w t="2"></w>
    <w t="3">small</w>
    </test>
    
  • set the empty property value code to "EMPTY"
  • the "word" lexicon must show:
        small    2
        EMPTY    1
        very    1
    
  • the "t" lexicon must show:
        1    1
        2    1
        3    1
        EMPTY    1
    

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 9 ans

  • % réalisé changé de 0 à 80

#2 Mis à jour par Matthieu Decorde il y a plus de 9 ans

  • Description mis à jour (diff)

#3 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed

#4 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

Formats disponibles : Atom PDF