On 2013年11月25日 01:21, [email protected] wrote:
> Send Moses-support mailing list submissions to
> [email protected]
>
> 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
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Moses-support digest..."
>
>
> Today's Topics:
>
> 1. default beam size (Read, James C)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 24 Nov 2013 11:01:26 +0000
> From: "Read, James C" <[email protected]>
> Subject: [Moses-support] default beam size
> To: "[email protected]" <[email protected]>
> Message-ID:
> <f00840e41983c645928e21e3c35f4eb1012cf4c...@mbx1-node2.essex.ac.uk>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> does anybody know what the default beam size is if I invoke with no -s
> parameter?
>
> James
>
>
>
> ------------------------------
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
> End of Moses-support Digest, Vol 85, Issue 39
> *********************************************
the default beam size is 200,please look over
"DEFAULT_MAX_HYPOSTACK_SIZE" int the file Typedef.h,as follows:
... ...
const size_t DEFAULT_MAX_HYPOSTACK_SIZE = 200;
... ...
then in the StaticData.cpp:
... ...
// settings for pruning
m_maxHypoStackSize = (m_parameter->GetParam("stack").size() > 0)
? Scan<size_t>(m_parameter->GetParam("stack")[0]) :
DEFAULT_MAX_HYPOSTACK_SIZE;
... ...
--
Chen Kehai
MI&T Lab
School of Computer Science and Technology
Harbin Institute of Technology
homepage:http://chenkehai.github.io
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support