mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
daily automatic beautifier
This commit is contained in:
parent
31df959352
commit
b64af59af6
@ -31,8 +31,7 @@ class PhrasePairFeature: public StatelessFeatureFunction
|
||||
CharHash m_punctuationHash;
|
||||
std::string m_filePathSource;
|
||||
|
||||
inline std::string ReplaceTilde(const StringPiece &str) const
|
||||
{
|
||||
inline std::string ReplaceTilde(const StringPiece &str) const {
|
||||
std::string out = str.as_string();
|
||||
size_t pos = out.find('~');
|
||||
while ( pos != std::string::npos ) {
|
||||
|
@ -154,7 +154,7 @@ int main(int argc, char* argv[])
|
||||
"[--TargetPreferenceLabels] "
|
||||
"[--UnpairedExtractFormat] "
|
||||
"[--ConditionOnTargetLHS] "
|
||||
"[--CrossedNonTerm]"
|
||||
"[--CrossedNonTerm]"
|
||||
<< std::endl;
|
||||
std::cerr << featureManager.usage() << std::endl;
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user