Cambridge SMT System
|
Unit testing: sentence-specific grammar task. More...
#include <googletesting.h>
#include "main.custom_assert.hpp"
#include "main.logger.hpp"
#include "params.hpp"
#include "addresshandler.hpp"
#include "taskinterface.hpp"
#include "defs.grammar.hpp"
#include "defs.ssgrammar.hpp"
#include "data.stats.hpp"
#include "data.grammar.hpp"
#include "data.ssgrammar.hpp"
#include "task.grammar.hpp"
#include "task.ssgrammar.hpp"
Go to the source code of this file.
Classes | |
struct | DataForSentenceSpecificGrammarTask |
Public Data class with variables required by SentenceSpecificGrammarTask. More... | |
Functions | |
TEST (HifstSentenceSpecificGrammarTask, basic_test) | |
Basic test for TextTask class. More... | |
TEST (HifstSentenceSpecificGrammarTask, data) | |
int | main (int argc, char **argv) |
Unit testing: sentence-specific grammar task.
Definition in file hifst.task.ssgrammar.gtest.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 224 of file hifst.task.ssgrammar.gtest.cpp.
TEST | ( | HifstSentenceSpecificGrammarTask | , |
basic_test | |||
) |
Basic test for TextTask class.
Initialize all variables required to uses these task classes.
Definition at line 66 of file hifst.task.ssgrammar.gtest.cpp.
TEST | ( | HifstSentenceSpecificGrammarTask | , |
data | |||
) |
Definition at line 178 of file hifst.task.ssgrammar.gtest.cpp.