Skip to content

Commit

Permalink
{translation_result -> response}.h; propogates;
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerin Philip committed Feb 14, 2021
1 parent 0fc6105 commit 370e9e2
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/main-mts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include "common/utils.h"
#include "marian.h"
#include "translator/parser.h"
#include "translator/response.h"
#include "translator/service.h"
#include "translator/translation_result.h"

int main(int argc, char *argv[]) {
auto cp = marian::bergamot::createConfigParser();
Expand Down
2 changes: 1 addition & 1 deletion app/marian-decoder-new.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include "translator/output_collector.h"
#include "translator/output_printer.h"
#include "translator/parser.h"
#include "translator/response.h"
#include "translator/service.h"
#include "translator/translation_result.h"

void marian_decoder_minimal(const marian::Histories &histories,
marian::Ptr<marian::Vocab const> targetVocab,
Expand Down
2 changes: 1 addition & 1 deletion src/translator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_library(bergamot-translator STATIC
request.cpp
service.cpp
batcher.cpp
translation_result.cpp
response.cpp
)

target_link_libraries(bergamot-translator marian ssplit)
Expand Down
2 changes: 1 addition & 1 deletion src/translator/request.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "request.h"

#include "definitions.h"
#include "translation_result.h"
#include "response.h"

#include "common/logging.h"

Expand Down
2 changes: 1 addition & 1 deletion src/translator/request.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define SRC_BERGAMOT_REQUEST_H_

#include "definitions.h"
#include "translation_result.h"
#include "response.h"

#include "common/logging.h"
#include "data/types.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "translation_result.h"
#include "response.h"
#include "common/logging.h"
#include "data/alignment.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef SRC_BERGAMOT_TRANSLATION_RESULT_H_
#define SRC_BERGAMOT_TRANSLATION_RESULT_H_
#ifndef SRC_BERGAMOT_RESPONSE_H_
#define SRC_BERGAMOT_RESPONSE_H_

#include "data/types.h"
#include "definitions.h"
Expand Down Expand Up @@ -49,4 +49,4 @@ class Response {
} // namespace bergamot
} // namespace marian

#endif // SRC_BERGAMOT_TRANSLATION_RESULT_H_
#endif // SRC_BERGAMOT_RESPONSE_H_
2 changes: 1 addition & 1 deletion src/translator/service.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include "batch_translator.h"
#include "batcher.h"
#include "pcqueue.h"
#include "response.h"
#include "text_processor.h"
#include "translation_result.h"

#include <queue>
#include <vector>
Expand Down

0 comments on commit 370e9e2

Please sign in to comment.