Bug #229

RCP: 0.7.2, improve Index to Concordance link

Added by Matthieu Decorde almost 6 years ago. Updated 5 months ago.

Status:In Progress Start date:07/09/2013
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:UI / Link / Command Spent time: -
Target version:TXM 0.8.1

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: 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 A is limited to the cases where CQL_A and CQL_B don't use the "::" operator.

Solution B is universal.


Related issues

related to Feature #2559: RCP, X.X, improve cooccurrence to concordance link New 04/11/2019

History

#1 Updated by Matthieu Decorde almost 6 years ago

  • 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 Updated by Serge Heiden almost 6 years ago

  • Subject changed from RCP: 0.7.2, Index to Concordance link upgrade to RCP: 0.7.2, improve Index to Concordance link
  • Description updated (diff)

#3 Updated by Serge Heiden almost 5 years ago

  • Description updated (diff)
  • Target version changed from TXM X.X to TXM 0.7.7

#4 Updated by Sebastien Jacquot over 4 years ago

  • Target version changed from TXM 0.7.7 to TXM 0.7.8

#5 Updated by Matthieu Decorde over 3 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#6 Updated by Sebastien Jacquot 11 months ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#7 Updated by Matthieu Decorde 5 months ago

  • Target version changed from TXM 0.8.0 to TXM 0.8.1

Also available in: Atom PDF