Statistics
| Revision:

root / tmp / org.txm.connlu.core / groovy / org / txm / scripts / importer / connlu / CONNLUImport.groovy @ 2112

History | View | Annotate | Download (896 Bytes)

1
package org.txm.scripts.importer.connlu;
2

    
3
import org.apache.log4j.BasicConfigurator;
4
import org.txm.importer.xtz.*
5
import org.txm.objects.Project
6
import org.txm.scripts.importer.xtz.*
7

    
8
import ims.tiger.index.writer.*
9
import ims.tiger.system.*
10

    
11
class CONNLUImport extends XTZImport {
12

    
13
        public CONNLUImport(Project params) {
14
                super(params);
15
        }
16

    
17
        @Override
18
        public void init(Project p) {
19
                super.init(p);
20

    
21
                importer = new CONNLUImporter(this); // select TIGER XML files then do XTZImporter step
22
                compiler = new XTZCompiler(this)
23
                annotater = null; // no annotater step to do
24
                pager = new XTZPager(this)
25
        }
26

    
27
        /**
28
         * Do a XTZ Import then build the TIGERSearch indexes in the binary corpus "tiger" directory
29
         */
30
        @Override
31
        public void start() throws InterruptedException {
32
                
33
                super.start(); // call the usual XTZ import
34
                
35
                if (successFul) {
36
                        println "BUILD CONNL-UD indexes ??"
37
        
38
                }
39
        }
40
}