blob: cbbfe5a9e7e1fc942ef52028fc68f1938b95fe68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
//
// WordLattice2.cpp
// moses
//
// Created by Hieu Hoang on 30/10/2011.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#include <iostream>
#include "WordLattice2.h"
#include "PCNTools.h"
using namespace std;
namespace Moses
{
size_t WordLattice2::GetSize() const
{
}
int WordLattice2::Read(std::istream& in,const std::vector<FactorType>& factorOrder)
{
std::string line;
if(!getline(in,line)) return 0;
PCN::parseLattice(line);
}
void WordLattice2::Print(std::ostream&) const
{
}
//! create trans options specific to this InputType
TranslationOptionCollection* WordLattice2::CreateTranslationOptionCollection(const TranslationSystem* system) const
{
}
//! return substring. Only valid for Sentence class. TODO - get rid of this fn
Phrase WordLattice2::GetSubString(const WordsRange&) const
{
}
//! return substring at a particular position. Only valid for Sentence class. TODO - get rid of this fn
const Word& WordLattice2::GetWord(size_t pos) const
{
}
const NonTerminalSet &WordLattice2::GetLabelSet(size_t startPos, size_t endPos) const
{
}
}
|