Statistics
| Revision:

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

History | View | Annotate | Download (755 Bytes)

1 321 mdecorde
package org.txm.test
2 321 mdecorde
3 321 mdecorde
import java.util.ArrayList;
4 479 mdecorde
import org.txm.para.functions.*
5 321 mdecorde
import org.txm.searchengine.cqp.corpus.Corpus;
6 321 mdecorde
import org.txm.Toolbox
7 321 mdecorde
import org.txm.searchengine.cqp.corpus.*
8 321 mdecorde
import org.txm.searchengine.cqp.corpus.query.*
9 321 mdecorde
10 321 mdecorde
11 321 mdecorde
ArrayList<String> queries = ["je", "je"]
12 321 mdecorde
String struct = "text_id"
13 321 mdecorde
ArrayList<Corpus> corpora = ["QGRAAL", "QGRAAL"]
14 321 mdecorde
ArrayList<String> props = ["word", "frlemma"]
15 321 mdecorde
ArrayList<String> refs = ["text_id", "text_titre"]
16 321 mdecorde
ArrayList<Integer> CGs = [30, 10]
17 321 mdecorde
ArrayList<Integer> CDs = [10, 1]
18 321 mdecorde
ArrayList<Boolean> participates = [true, true]
19 321 mdecorde
20 479 mdecorde
//ParallelContexts ctx = new ParallelContexts();
21 321 mdecorde
22 321 mdecorde
println "starts-ends: "+ctx.getKeywordsStartsEnds()
23 321 mdecorde
println "keywords: "+ctx.getKeywordsStrings()
24 321 mdecorde
println "seg keys; "+ctx.getSegKeys()