Hi Prashant, Maria
The "core" was added when the sparse features branch was merged in. The
feature vector can now consist of both "core" (or "dense") features and
sparse features,
cheers - Barry
On 29/01/13 13:03, Prashant Mathur wrote:
> Hi,
> I also faced a similar problem in parsing the translation options in
> my own script which works well with old version of Moses.
> I had to change the regex to extract the Translation options.
>
> Now, "pC=..." is not there anymore and "core=..." is added.
>
> Can anyone comment on why this was changed?
>
> Thanks,
> --
> Prashant
>
> On 01/29/2013 01:49 PM, Maria Nadejde wrote:
>> Hi,
>>
>> I got an error in the analysis step:
>>
>> cannot scan line Trans Opt 0 [0..24]: [24..24]=</s> [0..23]=Q : Q
>> ->Q </s> :0-0 : c=-0.315005
>> -215.64core=(-12.5945,-200,-62.3691,-30.1769,-54.4012,-73.0524,-52.21,-57.0681,19.9979,-3.43766,13.9985)
>>
>> an older version of the trace file would have this line:
>> rans Opt 0 [0..24]: [24..24]=</s> [0..23]=Q : Q ->Q </s> :0-0 :
>> pC=0, c=-0.258025 -511.75<<-10.8574, -500, -64.5418, -9.44207,
>> -17.5821, -38.472, -13.2662, -23.7278, 13.9985, -0.891004, 14.9984>>
>>
>> and analysis.perl exits here:
>> /^Trans Opt (\d+) \[(\d+)\.\.(\d+)\]: (.+) : (\S+) \-\>(.+)
>> :([\(\),\d\- ]*): pC=[\d\.\-e]+, c=/ || die("cannot scan line $_");
>>
>> so there is this pC=.. that is missing
>>
>> should I delete it from the perl script or find where it was printed
>> out in the trace file and put it back?
>>
>> thanks
>> Maria
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected] <mailto:[email protected]>
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support