Statistics
| Revision:

root / tmp / org.txm.groovy.core / src / groovy / org / txm / scripts / prototypes / testSummary.groovy @ 1000

History | View | Annotate | Download (365 Bytes)

1
package org.txm.scripts.test
2

    
3
import org.txm.Toolbox
4
import org.txm.searchengine.cqp.core.functions.summary.Summary
5
import org.txm.searchengine.cqp.corpus.*
6
import org.txm.functions.summary.*
7

    
8
def discours = CorpusManager.getCorpusManager().getCorpus("DISCOURS")
9
Summary summary = new Summary(discours);
10
if(summary.init())
11
        println "success";
12
else
13
        pritnln "fail";