Feature #2623

RCP: X.X, union, intersection, subtraction and complementary subcorpus operations

Added by Matthieu Decorde 9 days ago. Updated 6 days ago.

Status:New Start date:09/06/2019
Priority:Normal Due date:
Assignee:- % Done:


Category:Corpus Spent time: -
Target version:TXM - Antract 2.0


We need new corpus operators to build specific corpus configurations:
  • for index to concordance hyperlink management
  • for resonance computing
  • etc.


Add Union, Intersection, Substraction and Complement commands.

The commands can be accessed from the Corpus view: main menu, contextual menu, toolbar.

They can take their arguments from a corpus or sub-corpus selection.

Parameters in a dialog box:
  • the list of arguments: the subcorpus and corpus selection previously selected in the corpora view. Ordered if possible
  • the new subcorpus name input: String
  • coalesce matches option: Boolean
  • target type option: matches or words
    • matches: usual CQP set operators semantics
    • words: new operators to implement to manage words instead of just matches (need to modify or create new matches)

Solution 1

Operators with 2 arguments, no coalesce, no target type

Solution 2

Operators with N arguments, ++


#1 Updated by Serge Heiden 9 days ago

  • Description updated (diff)

#2 Updated by Serge Heiden 6 days ago

  • Description updated (diff)

Also available in: Atom PDF