mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-25 04:43:03 +03:00
output list of available feature functions, separated by space, rather than lines
This commit is contained in:
parent
9745924937
commit
b68a906fdd
@ -65,6 +65,10 @@ int WordsBitmap::GetFutureCosts(int lastPos) const
|
||||
|
||||
bool WordsBitmap::IsAdjacent(size_t startPos, size_t endPos) const
|
||||
{
|
||||
if (GetNumWordsCovered() == 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
size_t first = GetFirstGapPos();
|
||||
size_t last = GetLastGapPos();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user