PREFIX=/usr/local CWB=`PATH=$$PATH:/opt/cwb-3.0.0/bin cwb-config -r` B= tmx2cqp txt2cqp html2pml xmlalign2cqp cqpalign2tmx \ addradical quebraxmlsent \ mkbitextra mkterminum align2tmx pdfaligner htmlaligner \ filealigner pdfrawpp lawpp aligntabproc lang_cld_ident \ bi-lang_cld_check what: echo "make what?" echo "t1 - make a test of tmx -> paralell CQP" echo "t2 - makes a corpus from a set of html files, with lema and pos" echo "t3 - given a file with a list of pairs of html files, it converts them to html, align and makes a CPQ corpus with them" install: cp $B ${PREFIX}/bin cd ${PREFIX}/bin; chmod 755 $B @ echo "registry =" ${CWB} mkdir -p ${CWB} chmod a+rwx ${CWB} cd Corpora-ParGuesser; perl Makefile.PL; make test ; make install t1: LANG=pt_PT tmx2cqp my.tmx EN-GB PT-PT t5: LANG=pt_PT tmx2cqp harry.tmx pt en t2: LANG=pt_PT txt2cqp -html -lema -filename musica-portuguesa ~jj/public_html/musica/html/*.html t3: LANG=pt_PT html2pml -listofpairs -noimg listofpairs.ex _teste3.pt _teste3.en LANG=pt_PT xmlalign2cqp _teste3.pt _teste3.en t4: LANG=pt_PT cqpalign2tmx -l1=pt -l2=en c-teste3-pt > _teste4.tmx clean: - rm -rf __.*.tmxdir - rm -f my.tmx.* my.tmx-* my-tmx* mmm.* _teste3* *.corpus _teste4* __.* j1: mkterminum -id=__ -l1=pt -l2=en Tests-data