diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-30 18:43:47 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-30 18:43:47 +0400 |
commit | ef9db932aa4ce4e57ead87e965a374f580a7cac2 (patch) | |
tree | dd6a06157328b410ff08dafaec5fb98a1acd122f /phrase-extract/hierarchical.h | |
parent | b1ce27d01f2629749deb9cb48f218246be6eca28 (diff) |
add namespace to phrase-extract
Diffstat (limited to 'phrase-extract/hierarchical.h')
-rw-r--r-- | phrase-extract/hierarchical.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phrase-extract/hierarchical.h b/phrase-extract/hierarchical.h index 61c899013..dd9c77a25 100644 --- a/phrase-extract/hierarchical.h +++ b/phrase-extract/hierarchical.h @@ -14,6 +14,9 @@ #include <set> #include <vector> +namespace MosesTraining +{ + // HPhraseVertex represents a point in the alignment matrix typedef std::pair <int, int> HPhraseVertex; @@ -29,5 +32,6 @@ typedef std::vector < HPhrase > HPhraseVector; // The key of the std::map is the English index and the value is a std::set of the foreign ones typedef std::map <int, std::set<int> > HSenteceVertices; +} // namespace #endif /* HIERARCHICAL_H_ */ |