Feature #2623

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

Added by Matthieu Decorde 2 months ago. Updated 2 months ago.

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

80%

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

Description

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

Solution

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

History

#1 Updated by Serge Heiden 2 months ago

  • Description updated (diff)

#2 Updated by Serge Heiden 2 months ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde 2 months ago

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

move solution 2 to another ticket

Also available in: Atom PDF