Feature #2623

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

Added by Matthieu Decorde over 1 year ago. Updated over 1 year 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

Related issues

related to Feature #1916: RCP: X.X, add subcorpus intersection, union and subtracti... New 10/28/2016


#1 Updated by Serge Heiden over 1 year ago

  • Description updated (diff)

#2 Updated by Serge Heiden over 1 year ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde over 1 year ago

  • Description updated (diff)
  • % Done changed from 0 to 80

move solution 2 to another ticket

Also available in: Atom PDF