[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Table of Contents

TectoMT

HOWTO

spusteni scenare:

common-devel/set_devel_environ.sh 
MOJE WIN CESTY: common-devel/set_environ.sh
cd sessions/eval-test/
make all

uloha se provadi jako scenar, ten se sklada z jednotlivych bloku
TectoMT::Block
TectoMT::Scenario

Z:\net\projects\TectoMT\scenarios\maugli-parallel.xml
element CzechT - vnitrek je PML strom

validace TMT:

xmllint --relaxng pml-schemas/tmt_schema.rng -noout scenarios/maugli-parallel.xml

relaxng schema muzes udelat takhle

xsltproc /net/projects/pdt/pdt20/tools/pml/pml2rng.xsl tvojeschema.xml >
tvojeschema.rng

a validovat takhle:

xmllint -relaxng tvojeschema.rng tvojeinstance.xml

Z.

Jak muzu zvalidovat PML instanci proti Relax NG schematu v xml?
Vim o skriptu /home/pajas/bin/validate_rng
Ten ale vyzaduje schema ve formatu rng, coz je neco jako zkompilovane xml,
jestli jsem to pochopil. Jak svoje schema dostanu do toho rng formatu,
pripadne jak muzu jeho instance validovat primo?
Dik za rady,
V.N.

BLEU Block

test file:
/net/projects/tectomt/sessions/wmt07/devel_formemes/news-commentary.cz-en.cz-1001.tmt.pls.gz


[ Back to the navigation ] [ Back to the content ]