Cambridge SMT System
uk.ac.cam.eng.extraction.RuleExtractorTest Class Reference

Public Member Functions

void testRuleComparator () throws IOException
 

Static Public Member Functions

static File copyDataToTestDir (String resource) throws IOException
 
static void setupFileSystem () throws IOException
 
static void cleanUp () throws IOException
 

Static Public Attributes

static TemporaryFolder folder = new TemporaryFolder()
 
static Configuration conf
 
static File trainingDataFile
 

Detailed Description

Author
aaw35

A unit test for the Rule Extractor. A small amount of training data for the RU->EN system is used to extract rules.

The sorting tasks are also tested.

Definition at line 56 of file RuleExtractorTest.java.

Member Function Documentation

static void uk.ac.cam.eng.extraction.RuleExtractorTest.cleanUp ( ) throws IOException
inlinestatic

Definition at line 91 of file RuleExtractorTest.java.

static File uk.ac.cam.eng.extraction.RuleExtractorTest.copyDataToTestDir ( String  resource) throws IOException
inlinestatic

Definition at line 67 of file RuleExtractorTest.java.

Here is the caller graph for this function:

static void uk.ac.cam.eng.extraction.RuleExtractorTest.setupFileSystem ( ) throws IOException
inlinestatic

Definition at line 81 of file RuleExtractorTest.java.

Here is the call graph for this function:

void uk.ac.cam.eng.extraction.RuleExtractorTest.testRuleComparator ( ) throws IOException
inline

Definition at line 112 of file RuleExtractorTest.java.

Member Data Documentation

Configuration uk.ac.cam.eng.extraction.RuleExtractorTest.conf
static

Definition at line 63 of file RuleExtractorTest.java.

TemporaryFolder uk.ac.cam.eng.extraction.RuleExtractorTest.folder = new TemporaryFolder()
static

Definition at line 62 of file RuleExtractorTest.java.

File uk.ac.cam.eng.extraction.RuleExtractorTest.trainingDataFile
static

Definition at line 64 of file RuleExtractorTest.java.


The documentation for this class was generated from the following file: