Statistics
| Revision:

root / tmp / org.txm.groovy.core / src / groovy / org / txm / test / ParaContexts.groovy @ 479

History | View | Annotate | Download (755 Bytes)

1
package org.txm.test
2

    
3
import java.util.ArrayList;
4
import org.txm.para.functions.*
5
import org.txm.searchengine.cqp.corpus.Corpus;
6
import org.txm.Toolbox
7
import org.txm.searchengine.cqp.corpus.*
8
import org.txm.searchengine.cqp.corpus.query.*
9

    
10

    
11
ArrayList<String> queries = ["je", "je"]
12
String struct = "text_id"
13
ArrayList<Corpus> corpora = ["QGRAAL", "QGRAAL"]
14
ArrayList<String> props = ["word", "frlemma"]
15
ArrayList<String> refs = ["text_id", "text_titre"]
16
ArrayList<Integer> CGs = [30, 10]
17
ArrayList<Integer> CDs = [10, 1]
18
ArrayList<Boolean> participates = [true, true]
19

    
20
//ParallelContexts ctx = new ParallelContexts();
21

    
22
println "starts-ends: "+ctx.getKeywordsStartsEnds()
23
println "keywords: "+ctx.getKeywordsStrings()
24
println "seg keys; "+ctx.getSegKeys()