mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
20 lines
235 B
C++
20 lines
235 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include "Word.h"
|
|
|
|
// a vector of terminals
|
|
class Phrase : public std::vector<Word*>
|
|
{
|
|
public:
|
|
Phrase()
|
|
{}
|
|
|
|
Phrase(size_t size)
|
|
:std::vector<Word*>(size)
|
|
{}
|
|
|
|
std::string Debug() const;
|
|
|
|
};
|