00001 /* boss_g2p_de.h $Revision: 1.3 $ $Date: 2005/12/10 20:33:54 $ 00002 Copyright (C) 2001 University of Bonn. 00003 http://www.ikp.uni-bonn.de/boss 00004 00005 This program is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU General Public License 00007 as published by the Free Software Foundation; either version 2 00008 of the License, or (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, 00018 Boston, MA 02111-1307, USA. 00019 */ 00020 00025 #ifndef BOSSG2P_DE_H 00026 #define BOSSG2P_DE_H 00027 00028 #include "boss_g2p.h" 00029 00033 class BOSS_g2p_DE : public BOSS_g2p { 00034 public: 00035 BOSS_g2p_DE(BOSS::Config & __cl) : BOSS_g2p(__cl) {} 00036 BOSS_g2p_DE(BOSS::Config & __cl, const LabelFormat & F) : BOSS_g2p(__cl, F) {} 00037 BOSS_g2p_DE(const BOSS_g2p & c) : BOSS_g2p(c) {} 00038 protected: 00039 // string postProcPhon(const string & s); 00040 string postProcSyll(const string & s) const; 00041 string postProcStress(const string & s) const; 00042 // string postProcTrans(const string & s) const; 00043 string reduceGeminates(const string & s) const; 00044 }; 00045 00046 #endif