mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-30 23:42:30 +03:00
create source phrase in rule
This commit is contained in:
parent
324d16ee8e
commit
6b936f3d8d
18
contrib/other-builds/extract-mixed-syntax/RuleSymbol.cpp
Normal file
18
contrib/other-builds/extract-mixed-syntax/RuleSymbol.cpp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* RuleSymbol.cpp
|
||||||
|
*
|
||||||
|
* Created on: 21 Feb 2014
|
||||||
|
* Author: hieu
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <RuleSymbol.h>
|
||||||
|
|
||||||
|
RuleSymbol::RuleSymbol() {
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
RuleSymbol::~RuleSymbol() {
|
||||||
|
// TODO Auto-generated destructor stub
|
||||||
|
}
|
||||||
|
|
22
contrib/other-builds/extract-mixed-syntax/RuleSymbol.h
Normal file
22
contrib/other-builds/extract-mixed-syntax/RuleSymbol.h
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* RuleSymbol.h
|
||||||
|
*
|
||||||
|
* Created on: 21 Feb 2014
|
||||||
|
* Author: hieu
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef RULESYMBOL_H_
|
||||||
|
#define RULESYMBOL_H_
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
class RuleSymbol {
|
||||||
|
public:
|
||||||
|
RuleSymbol();
|
||||||
|
virtual ~RuleSymbol();
|
||||||
|
|
||||||
|
virtual void Debug(std::ostream &out) const = 0;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* RULESYMBOL_H_ */
|
Loading…
Reference in New Issue
Block a user