Bug #229
RCP: 0.7.2, improve Index to Concordance link
Statut: | In Progress | Début: | 09/07/2013 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | UI / Link / Command | Temps passé: | - | |
Version cible: | TXM 0.8.4 |
Description
- does not build the concordance query from the original index query (incomplete)
- wrong if more that one position (see note 1)
Remove or Document this link until resolved.
Two suggestions for a solution:
The CQL associated to the link must combine the constraints of the original CQL (for example CQL_A=[frpos="NOM"]) and the constraints expressed by the cell containing the link (for example: CQL_B=[frlemma="pouvoir"]).
solution A) use the "::" operator to combine the queries:works ?CQL_A :: CQL_B;
- solution B)
- 1) if necessary, add the INTERSECTION of two CQP result sets method to the CQi API (the operator is already present in CQP)
- 2) resolve CQL_B
- 3) return
INTERSECTION(CQP(CQL_A), CQP(CQL_B))
- solution C) create a subcorpus result with CQL_A next to the Index and create its child concordance with CQL_B (Corpus > Index ; Corpus > Subcorpus > Concordance)
- solution D) create a hidden subcorpus result with CQL_A child of the Index and create its child concordance with CQL_B (Index > hidden Subcorpus > Concordance)
- solution E) create a concordance with CQL_B child of the Index (Index > Concordance)
Solution A is limited to the cases where CQL_A and CQL_B don't use the "::" operator thus won't be used.
Solution B is universal.
Solution C create a subcorpus&concordance are disconnected from the index. The subcorpus may be discontinue (1 tokens matches) but is visible.
Solution D the subcorpus is hidden
Solution E the internal subcorpus does not allow multi-token CQL + the concordance is often not useful when the index query is changed
Solution¶
Choose a solution
Demandes liées
Historique
#1 Mis à jour par Matthieu Decorde il y a environ 12 ans
- BP (2013-01-18) : le calcul de la requête pour le lien hypertexte n'est pas juste quand on a affaire à une requête sur plusieurs mots : par exemple si on a sélectionné dans un résultat d'index les deux lignes :
développement économique politique énergétique
la requête générée est[word="développement|politique"] [word="économique|énergétique"]
alors qu'on attendrait([word="développement"] [word="économique"]|[word="politique"] [word="énergétique"])
#2 Mis à jour par Serge Heiden il y a environ 12 ans
- Sujet changé de RCP: 0.7.2, Index to Concordance link upgrade à RCP: 0.7.2, improve Index to Concordance link
- Description mis à jour (diff)
#3 Mis à jour par Serge Heiden il y a environ 11 ans
- Description mis à jour (diff)
- Version cible changé de TXM 0.X.X à TXM 0.7.7
#4 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- Version cible changé de TXM 0.7.7 à TXM 0.7.8
#5 Mis à jour par Matthieu Decorde il y a environ 10 ans
- Version cible changé de TXM 0.7.8 à TXM 0.8.0a (split/restructuration)
#6 Mis à jour par Sebastien Jacquot il y a plus de 7 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#7 Mis à jour par Matthieu Decorde il y a presque 7 ans
- Version cible changé de TXM 0.8.0 à TXM 0.8.2
#8 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- Description mis à jour (diff)
#9 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- Description mis à jour (diff)
#10 Mis à jour par Matthieu Decorde il y a plus de 4 ans
- Version cible changé de TXM 0.8.2 à TXM 0.8.4
#11 Mis à jour par Matthieu Decorde il y a plus d'un an
- Description mis à jour (diff)