Moses-support Digest, Vol 102, Issue 4

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. Re: bug in analysis.perl? (Hieu Hoang)
2. Re: bug in analysis.perl? (Shuoyang Ding)


----------------------------------------------------------------------

Message: 1
Date: Thu, 02 Apr 2015 22:59:44 +0400
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] bug in analysis.perl?
To: Shuoyang Ding <mtsding@gmail.com>, moses-support
<moses-support@mit.edu>
Message-ID: <551D91A0.5080006@gmail.com>
Content-Type: text/plain; charset="windows-1252"

hi Shuoyang

thanks. I don't know enough about that script to commit your changes,
but if you're sure about it, I can give you commit access for you to do
it yourself, as long as you answer bug queries from other users. Or if
anyone else knows more about it, maybe they can commit it for you.

analysis.perl just parses the debugging output, which will changes from
time-to-time. I would worry too much if it says it's old or new format.
Personally, i would only write it for the current debugging output format.

On 30/03/2015 02:59, Shuoyang Ding wrote:
> Hi all,
>
> I just upgraded from an older release (2.1.1) to the current version
> of moses. And I found the regular expression in line 780-781 and in
> line 1198-1204 of /scripts/ems/support/analysis.perl does not match
> the .trace and .graph files, respectively.
>
> The .trace file I get is something like this:
>
> Trans Opt 0 [0..12]: [12..12]=</s> [0..11]=S : S ->S -> S </s>
> :0-0 : term=1-1 : nonterm=0-0 : c=-0.219483
> core=(0,-1,1,0,0,0,0,0,0,0)
> -210.72core=(-100,-22,14,-20.8622,-22.1086,-15.6026,-26.7554,-2.71614,0.999896,-101.045)
>
> the .graph file:
>
> 0 40079 S => S -> <s> :: term=0-0 : nonterm=: c=0.110587
> core=(0,-1,1,0,0,0,0,0,0,0) [0..0] [total=0.110587]
> core=(0,-1,1,0,0,0,0,0,0,0)
>
> namely, the original regular expression seems fail to account for the
> ?term? and ?nonterm? stuff in both cases.
>
> I attempted to fix the problem and I attached the fixed analysis.perl.
> I no longer get the error output again but I don?t know if it is the
> right way to do this, so I think it would be nice if some of you can
> look at that.
>
> Plus, I?m a bit puzzled by the ?old format? and ?new format? indicated
> in function hs_scan_line. It seems that my experiment is matching to
> the ?old format?, so is this old one deprecated? How can I switch to
> the new one?
>
> Thanks!
>
> Regards,
> Shuoyang Ding
>
> Ph.D. Student
> Center for Language and Speech Processing
> Department of Computer Science
> Johns Hopkins University
>
> Hackerman Hall 225A
> 3400 N. Charles St.
> Baltimore, MD 21218
>
> http://cs.jhu.edu/~sding <http://cs.jhu.edu/%7Esding>
>
>
>
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150402/477f05db/attachment-0001.htm

------------------------------

Message: 2
Date: Thu, 2 Apr 2015 20:02:40 -0400
From: Shuoyang Ding <mtsding@gmail.com>
Subject: Re: [Moses-support] bug in analysis.perl?
To: Hieu Hoang <hieuhoang@gmail.com>, moses-support@mit.edu
Message-ID: <78B17092-5FF0-4FA2-960E-1B7F7387D99F@gmail.com>
Content-Type: text/plain; charset="windows-1252"

Hi Hieu,

Thanks for the kind reply. I think I?ll wait for a few more days to see if there is any other people who wish to reply, and meanwhile I can try this out with more experiments in order to make sure it works.

I just got the commit access from Philipp so I can do it myself.

Shuoyang

> On Apr 2, 2015, at 2:59 PM, Hieu Hoang <hieuhoang@gmail.com> wrote:
>
> hi Shuoyang
>
> thanks. I don't know enough about that script to commit your changes, but if you're sure about it, I can give you commit access for you to do it yourself, as long as you answer bug queries from other users. Or if anyone else knows more about it, maybe they can commit it for you.
>
> analysis.perl just parses the debugging output, which will changes from time-to-time. I would worry too much if it says it's old or new format. Personally, i would only write it for the current debugging output format.
>
> On 30/03/2015 02:59, Shuoyang Ding wrote:
>> Hi all,
>>
>> I just upgraded from an older release (2.1.1) to the current version of moses. And I found the regular expression in line 780-781 and in line 1198-1204 of /scripts/ems/support/analysis.perl does not match the .trace and .graph files, respectively.
>>
>> The .trace file I get is something like this:
>>
>> Trans Opt 0 [0..12]: [12..12]=</s> [0..11]=S : S ->S -> S </s> :0-0 : term=1-1 : nonterm=0-0 : c=-0.219483 core=(0,-1,1,0,0,0,0,0,0,0) -210.72core=(-100,-22,14,-20.8622,-22.1086,-15.6026,-26.7554,-2.71614,0.999896,-101.045)
>>
>> the .graph file:
>>
>> 0 40079 S => S -> <s> :: term=0-0 : nonterm=: c=0.110587 core=(0,-1,1,0,0,0,0,0,0,0) [0..0] [total=0.110587] core=(0,-1,1,0,0,0,0,0,0,0)
>>
>> namely, the original regular expression seems fail to account for the ?term? and ?nonterm? stuff in both cases.
>>
>> I attempted to fix the problem and I attached the fixed analysis.perl. I no longer get the error output again but I don?t know if it is the right way to do this, so I think it would be nice if some of you can look at that.
>>
>> Plus, I?m a bit puzzled by the ?old format? and ?new format? indicated in function hs_scan_line. It seems that my experiment is matching to the ?old format?, so is this old one deprecated? How can I switch to the new one?
>>
>> Thanks!
>>
>> Regards,
>> Shuoyang Ding
>>
>> Ph.D. Student
>> Center for Language and Speech Processing
>> Department of Computer Science
>> Johns Hopkins University
>>
>> Hackerman Hall 225A
>> 3400 N. Charles St.
>> Baltimore, MD 21218
>>
>> http://cs.jhu.edu/~sding <http://cs.jhu.edu/%7Esding>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>> http://mailman.mit.edu/mailman/listinfo/moses-support <http://mailman.mit.edu/mailman/listinfo/moses-support>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20150402/d93ffd78/attachment-0001.htm

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 102, Issue 4
*********************************************

Related Posts :

0 Response to "Moses-support Digest, Vol 102, Issue 4"

Post a Comment