Révision 2228
| tmp/org.txm.groovy.core/src/groovy/org/txm/macro/cqp/ListMatchesMacro.groovy (revision 2228) | ||
|---|---|---|
| 9 | 9 |
import org.txm.searchengine.cqp.corpus.* |
| 10 | 10 |
import org.txm.utils.* |
| 11 | 11 |
|
| 12 |
if (!(corpusViewSelection instanceof Corpus)) {
|
|
| 12 |
if (!(corpusViewSelection instanceof CQPCorpus)) {
|
|
| 13 | 13 |
println "Selection is not a Corpus: $corpusViewSelection" |
| 14 | 14 |
return false |
| 15 | 15 |
} |
| 16 |
|
|
| 16 |
corpusViewSelection.compute(false) |
|
| 17 | 17 |
println corpusViewSelection.getMatches() |
Formats disponibles : Unified diff