summaryrefslogtreecommitdiff
path: root/extractor/phrase_builder.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-01-28 11:56:31 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-01-28 11:56:31 +0000
commit5530575ae0ad939e17f08d6bd49978acea388ab7 (patch)
tree4620a276c1c827d824e285148f4f4a5bf781ebfe /extractor/phrase_builder.h
parentce6937f136a38af93d9a5cd9628acc712da95543 (diff)
Initial working commit.
Diffstat (limited to 'extractor/phrase_builder.h')
-rw-r--r--extractor/phrase_builder.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/extractor/phrase_builder.h b/extractor/phrase_builder.h
new file mode 100644
index 00000000..f01cb23b
--- /dev/null
+++ b/extractor/phrase_builder.h
@@ -0,0 +1,22 @@
+#ifndef _PHRASE_BUILDER_H_
+#define _PHRASE_BUILDER_H_
+
+#include <memory>
+#include <vector>
+
+using namespace std;
+
+class Phrase;
+class Vocabulary;
+
+class PhraseBuilder {
+ public:
+ PhraseBuilder(shared_ptr<Vocabulary> vocabulary);
+
+ Phrase Build(const vector<int>& symbols);
+
+ private:
+ shared_ptr<Vocabulary> vocabulary;
+};
+
+#endif