https://github.com/wilkeraziz/mosesdecoder
Raw File
Tip revision: 713a8e42339de2ddf1904472d8eb78e8f536f37a authored by Barry Haddow on 29 January 2016, 17:13:03 UTC
dont crash if no translation in hiero server
Tip revision: 713a8e4
SourcePhrase.h
#pragma once
// $Id$
/***********************************************************************
 Moses - factored phrase-based, hierarchical and syntactic language decoder
 Copyright (C) 2009 Hieu Hoang

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 ***********************************************************************/
#include <vector>
#include "Phrase.h"
#include "Word.h"

namespace OnDiskPt
{

/** A source phrase. No extension of a norm Phrase class because source phrases are saved as tries.
 */
class SourcePhrase: public Phrase
{
protected:

public:
};


}
back to top