commit 0132e40e516ee51e7f89fdfd055c51489b427667 Author: Tanmai Khanna Date: Tue Jun 11 01:57:29 2019 +0530 fixed errors during make diff --git a/apertium/transfer.cc b/apertium/transfer.cc index 3d8cd12..164d1a6 100644 --- a/apertium/transfer.cc +++ b/apertium/transfer.cc @@ -2285,8 +2285,10 @@ Transfer::applyRule() if(useBilingual && preBilingual == false) { tr = fstp.biltransWithQueue(*tmpword[i], false); + wstring refx; word[i] = new TransferWord(UtfConverter::toUtf8(*tmpword[i]), UtfConverter::toUtf8(tr.first), + UtfConverter::toUtf8(refx), //[[anaphora]] tr.second); } else if(preBilingual) //add for cr? [[anaphora]] @@ -2346,13 +2348,16 @@ Transfer::applyRule() tr = pair(tl, false); word[i] = new TransferWord(UtfConverter::toUtf8(sl), UtfConverter::toUtf8(tr.first), + UtfConverter::toUtf8(ref), //[[anaphora]] tr.second); } else // neither useBilingual nor preBilingual (sl==tl) [[anaphora]] add for ref? { tr = pair(*tmpword[i], false); + wstring refx; word[i] = new TransferWord(UtfConverter::toUtf8(*tmpword[i]), UtfConverter::toUtf8(tr.first), + UtfConverter::toUtf8(refx), //[[anaphoral]] tr.second); } }