summaryrefslogtreecommitdiff
path: root/extractor/phrase_builder.h
diff options
context:
space:
mode:
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