/** *Copyright (C) 2003 DFKI GmbH. All rights reserved. */ package marytts.language.de; import java.util.Locale; import marytts.language.de.Preprocess; import marytts.modules.ModuleRegistry; import marytts.tests.modules.MaryModuleTestCase; import org.junit.Test; /** * @author Marc Schröder * * */ public class PreprocessorIT extends MaryModuleTestCase { public PreprocessorIT() throws Exception { super(true); // need mary startup module = ModuleRegistry.getModule(Preprocess.class); } protected String inputEnding() { return "tokenised"; } protected String outputEnding() { return "preprocessed"; } @Test public void testSpellout() throws Exception { processAndCompare("SPD", Locale.GERMAN); } @Test public void testAbbrev9() throws Exception { processAndCompare("abbrev9", Locale.GERMAN); } @Test public void testAbbrev10() throws Exception { processAndCompare("abbrev10", Locale.GERMAN); } @Test public void testAbbrev11() throws Exception { processAndCompare("abbrev11", Locale.GERMAN); } @Test public void testAbbrev12() throws Exception { processAndCompare("abbrev12", Locale.GERMAN); } @Test public void testNet1() throws Exception { processAndCompare("net1", Locale.GERMAN); } @Test public void testSpecialChar1() throws Exception { processAndCompare("specialchar1", Locale.GERMAN); } @Test public void testUnicode1() throws Exception { processAndCompare("unicode1", Locale.GERMAN); } @Test public void testIBAN1() throws Exception { processAndCompare("iban1", Locale.GERMAN); } @Test public void testIBAN2() throws Exception { processAndCompare("iban2", Locale.GERMAN); } @Test public void testIBAN3() throws Exception { processAndCompare("iban3", Locale.GERMAN); } @Test public void testvChr() throws Exception { processAndCompare("vChr", Locale.GERMAN); } }