diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-03-24 23:04:46 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-03-24 23:04:46 -0400 |
commit | 92a115b036c4fa18af14ec0cf297f1dd8f563331 (patch) | |
tree | e03962037b059026f4d0cda56eec9d6725231ce4 /decoder | |
parent | 52c08b69c9c93e1a75fb8b175543e56276193bd5 (diff) |
rename aligner, add support for distinguishing translation / transliteration
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/aligner.cc | 4 | ||||
-rw-r--r-- | decoder/ff_wordalign.cc | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/decoder/aligner.cc b/decoder/aligner.cc index 53e059fb..232e022a 100644 --- a/decoder/aligner.cc +++ b/decoder/aligner.cc @@ -11,7 +11,7 @@ #include "sentence_metadata.h" #include "inside_outside.h" #include "viterbi.h" -#include "alignment_pharaoh.h" +#include "alignment_io.h" using namespace std; @@ -300,7 +300,7 @@ void AlignerTools::WriteAlignment(const Lattice& src_lattice, cerr << grid << endl; } (*out) << TD::GetString(src_sent) << " ||| " << TD::GetString(trg_sent) << " ||| "; - AlignmentPharaoh::SerializePharaohFormat(grid, out); + AlignmentIO::SerializePharaohFormat(grid, out); } }; diff --git a/decoder/ff_wordalign.cc b/decoder/ff_wordalign.cc index 9e7c618e..decdf9bc 100644 --- a/decoder/ff_wordalign.cc +++ b/decoder/ff_wordalign.cc @@ -15,7 +15,6 @@ #include "factored_lexicon_helper.h" #include "verbose.h" -#include "alignment_pharaoh.h" #include "stringlib.h" #include "sentence_metadata.h" #include "hg.h" |