mosesdecoder/contrib/other-builds/moses2/Word.h
2015-10-24 12:39:15 +01:00

25 lines
295 B
C++

/*
* Word.h
*
* Created on: 23 Oct 2015
* Author: hieu
*/
#pragma once
#include "Factor.h"
#include "TypeDef.h"
class Word {
public:
Word();
virtual ~Word();
size_t hash() const;
bool operator==(const Word &compare) const;
protected:
Factor *m_factors[NUM_FACTOR];
};