#pragma once #include "util/string_piece.hh" #include "util/tokenize_piece.hh" #include "util/file_piece.hh" #include #include //atof #include "util/string_piece.hh" //Tokenization and work with StringPiece #include "util/tokenize_piece.hh" #include //Struct for holding processed line struct line_text { StringPiece source_phrase; StringPiece target_phrase; StringPiece prob; StringPiece word_all1; StringPiece word_all2; }; //Struct for holding processed line struct target_text { std::vector target_phrase; std::vector prob; std::vector word_all1; }; //Ask if it's better to have it receive a pointer to a line_text struct line_text splitLine(StringPiece textin); std::vector splitWordAll1(StringPiece textin);