Commit 4c0b527f authored by jhargrave's avatar jhargrave

add tests for deepen segmentation xliff2 filter option

parent 9350a400
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="Graphic Example.psd" source-language="en-us" target-language="fr" datatype="x-undefined" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xliff2/deepenSegmentation/okf_xliff2@deepen-segmentation.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en-us">Quetzal. The great.</source>
<seg-source><mrk mid="0" mtype="seg">Quetzal.</mrk><mrk mid="2" mtype="seg"> The great.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Quetzal.</mrk><mrk mid="2" mtype="seg"> The great.</mrk></target>
</trans-unit>
<trans-unit id="2">
<source xml:lang="en-us">An application to manipulate and process XLIFF documents. Even more stuff now.</source>
<seg-source><mrk mid="0" mtype="seg">An application to manipulate and process XLIFF documents.</mrk><mrk mid="2" mtype="seg"> Even more stuff now.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">An application to manipulate and process XLIFF documents.</mrk><mrk mid="2" mtype="seg"> Even more stuff now.</mrk></target>
</trans-unit>
<trans-unit id="3">
<source xml:lang="en-us">XLIFF Data Manager. XLIFF2 managment as well.</source>
<seg-source><mrk mid="0" mtype="seg">XLIFF Data Manager.</mrk><mrk mid="2" mtype="seg"> XLIFF2 managment as well.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">XLIFF Data Manager.</mrk><mrk mid="2" mtype="seg"> XLIFF2 managment as well.</mrk></target>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:okp="okapi-framework:xliff-extensions" xmlns:its="http://www.w3.org/2005/11/its" xmlns:itsxlf="http://www.w3.org/ns/its-xliff/" its:version="2.0">
<file original="Graphic Example.psd" source-language="en-us" target-language="fr" datatype="x-undefined" okp:inputEncoding="UTF-8" okp:configId="/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xliff2/deepenSegmentation/okf_xliff2@deepen-segmentation.fprm">
<header><tool tool-id="okapi" tool-name="okapi-tests" tool-version="M29" tool-company="okapi"></tool></header>
<body>
<trans-unit id="1">
<source xml:lang="en-us">Quetzal. The great.</source>
<seg-source><mrk mid="0" mtype="seg">Quetzal.</mrk><mrk mid="2" mtype="seg"> The great.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Quetzal.</mrk><mrk mid="2" mtype="seg"> Le Grand.</mrk></target>
</trans-unit>
<trans-unit id="2">
<source xml:lang="en-us">An application to manipulate and process XLIFF documents. Even more stuff now.</source>
<seg-source><mrk mid="0" mtype="seg">An application to manipulate and process XLIFF documents.</mrk><mrk mid="2" mtype="seg"> Even more stuff now.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Une demande de manipuler et de traiter des documents XLIFF.</mrk><mrk mid="2" mtype="seg"> Encore plus de choses maintenant.</mrk></target>
</trans-unit>
<trans-unit id="3">
<source xml:lang="en-us">XLIFF Data Manager. XLIFF2 managment as well.</source>
<seg-source><mrk mid="0" mtype="seg">XLIFF Data Manager.</mrk><mrk mid="2" mtype="seg"> XLIFF2 managment as well.</mrk></seg-source>
<target xml:lang="fr"><mrk mid="0" mtype="seg">Gestionnaire de données XLIFF.</mrk><mrk mid="2" mtype="seg"> XLIFF2 Managment ainsi.</mrk></target>
</trans-unit>
</body>
</file>
</xliff>
#v1
maxValidation.b=true
mergeAsParagraph.b=true
simplifyTags.b=false
useCodeFinder.b=false
needsSegmentation.b=true
codeFinderRules.count.i=4
codeFinderRules.rule0=\{[^}]*?\}
codeFinderRules.rule1=\[[^]]*?\]
codeFinderRules.rule2=%(([-0+#]?)[-0+#]?)((\d\$)?)(([\d\*]*)(\.[\d\*]*)?)[dioxXucsfeEgGpn@]
codeFinderRules.rule3=\$[a-zA-Z_-]+
codeFinderRules.sample=[….]$0a${….}$0a$%@$0a$%s$0a$%1$s$0a$%2$s$0a$%d$0a$%1$d$0a$%2$d$0a$%u$0a$%1$@$0a$%2$@$0a$%3$@$0a$%4$@$0a$%1$s$0a$%2$s$0a$%3$s$0a$%d$0a$%c$0a$$privacy$0a$%3$d$0a$%4$d$0a$%5$d$0a$%6$d$0a$%3$d$0a$%4$d$0a$%5$d$0a$%6$d$0a$%4$s$0a$%5$s$0a$%6$s$0a$%5$@$0a$%6$@
codeFinderRules.useAllRulesWhenTesting.b=true
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0"
srcLang="en-US" trgLang="fr">
<file id="f1" original="Graphic Example.psd">
<skeleton href="Graphic Example.psd.skl"/>
<unit id="1">
<segment>
<source>Quetzal. The great.</source>
</segment>
</unit>
<unit id="2">
<segment>
<source>An application to manipulate and process XLIFF documents. Even more stuff now.</source>
</segment>
</unit>
<unit id="3">
<segment>
<source>XLIFF Data Manager. XLIFF2 managment as well.</source>
</segment>
</unit>
</file>
</xliff>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0"
srcLang="en-US" trgLang="fr">
<file id="f1" original="Graphic Example.psd">
<skeleton href="Graphic Example.psd.skl"/>
<unit id="1">
<segment>
<source>Quetzal. The great.</source>
<target>Quetzal. Le Grand.</target>
</segment>
</unit>
<unit id="2">
<segment>
<source>An application to manipulate and process XLIFF documents. Even more stuff now.</source>
<target>Une demande de manipuler et de traiter des documents XLIFF. Encore plus de choses maintenant.</target>
</segment>
</unit>
<unit id="3">
<segment>
<source>XLIFF Data Manager. XLIFF2 managment as well.</source>
<target>Gestionnaire de données XLIFF. XLIFF2 Managment ainsi.</target>
</segment>
</unit>
</file>
</xliff>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment