Revision 1094 tmp/org.txm.tigersearch.rcp/src/org/txm/export/ts/PunctInject.groovy

PunctInject.groovy (revision 1094)
13 13

  
14 14
import javax.xml.parsers.DocumentBuilderFactory
15 15
import org.txm.searchengine.cqp.CqpDataProxy;
16
import org.txm.searchengine.cqp.corpus.Corpus
16
import org.txm.searchengine.cqp.corpus.CQPCorpus
17 17
import org.txm.searchengine.cqp.corpus.CorpusManager;
18 18
import org.txm.searchengine.cqp.corpus.QueryResult;
19 19
import org.txm.searchengine.cqp.corpus.query.CQLQuery
......
271 271
	public static def getWords(String corpusname, String query)
272 272
	{
273 273
		CorpusManager cm = CorpusManager.getCorpusManager();
274
		Corpus corpus = cm.getCorpus(corpusname);
274
		CQPCorpus corpus = cm.getCorpus(corpusname);
275 275
		def word_property = corpus.getProperty("word")
276 276
		def id_property = corpus.getProperty("id")
277 277

  

Also available in: Unified diff