mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-08 04:27:53 +03:00
25 lines
295 B
C++
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];
|
|
};
|
|
|