Moses-support Digest, Vol 84, Issue 19

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: Placeholders (Per Tunedal)
2. Compiling with boost 1.54.0 (Douwe H Gelling)


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

Message: 1
Date: Fri, 11 Oct 2013 14:36:42 +0200
From: Per Tunedal <per.tunedal@operamail.com>
Subject: Re: [Moses-support] Placeholders
To: moses-support@mit.edu
Message-ID:
<1381495002.3046.32800717.77594D51@webmail.messagingengine.com>
Content-Type: text/plain; charset="us-ascii"

Hi Hieu,
Excellent! Thank you for your explanation.
Yours,
Per Tunedal

On Fri, Oct 11, 2013, at 13:24, Hieu Hoang wrote:

it doesn't process HTML. Just plain text, and XML markups to indicate
the placeholder

For example, your original sentence is
you owe me $ 100 .
After running it through the placeholder script, the sentence become
you owe me $ <ne translation="@num@" entity="100">@num@</ne> .

The XML processing is needed to parse this XML


On 11 October 2013 07:08, Per Tunedal <[1]per.tunedal@operamail.com>
wrote:

Hi,
place holders would be useful. What's the implication of "it just
needs
the XML parsing to run"?
Does this mean that the option could only be used with html-input?
Not
with plain text?
Yours,
Per Tunedal

On Thu, Oct 10, 2013, at 15:30, Hieu Hoang wrote:
> On 10 October 2013 13:33, Nicola Bertoldi <[2]bertoldi@fbk.eu> wrote:
>
> > Hi Hieu
> >
> > I read the documentation
> > and you mention that you enable the exclusive mode of xml-input
> >
> > I see few issues:
> >
> > - you mention that you enable the exclusive mode of xml-input;
> > this can conflict with other usage of xml-input which instead
require
> > the inclusive mode.
> > do you have any comments on that?
> >
>
> it can be exclusive, inclusive or anything else except pass-through.
It
> just requires the XML handling to run
>
>
> >
> > - when you use the exclusive mode you force the translation of the
span
> > (@num@) with "100")
> > and other larger span including @num@ are not allowed
> > am I right?
> > If yes, what is the advantage of having phrase pairs including
other
> > words
> >
>
> it doesn't create XML options, it just needs the XML parsing to run.
>
>
> >
> > - what is the meaning of "-placeholder-factor 1" ?
> >
> It stores the original text in the source factor 1. The placeholder
> symbol
> is in the factor 0, or whatever the translation model was configured
to
> use.
>
>
> >
> >
> > Nicola Bertoldi
> >
> >
> >
> >
> > On Oct 10, 2013, at 1:05 PM, Hieu Hoang wrote:
> >
> > Hi all
> >
> > Achim and I have been working on adding support for placeholders
into
> > Moses. That is, replacing a number, date, or named entity with a
symbol eg.
> > @num@, -date-, =named-entity=. We think it would be especially
useful for
> > commercial users of Moses, and for people translating text with
lots of
> > numbers, dates etc.
> >
> > It is now supported in the Moses training and decoding pipeline.
See the
> > following URL for more details.
> > [3]http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#ntoc60
> >
> > --
> > Hieu Hoang
> > Research Associate
> > University of Edinburgh
> > [4]http://www.hoang.co.uk/hieu
> >
> > _______________________________________________
> > Moses-support mailing list
> > [5]Moses-support@mit.edu<mailto:[6]Moses-support@mit.edu>
> > [7]http://mailman.mit.edu/mailman/listinfo/moses-support
> >
> >
> >
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> [8]http://www.hoang.co.uk/hieu
> _______________________________________________
> Moses-support mailing list
> [9]Moses-support@mit.edu

> [10]http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
[11]Moses-support@mit.edu

[12]http://mailman.mit.edu/mailman/listinfo/moses-support

--
Hieu Hoang
Research Associate
University of Edinburgh
[13]http://www.hoang.co.uk/hieu

References

1. mailto:per.tunedal@operamail.com
2. mailto:bertoldi@fbk.eu
3. http://www.statmt.org/moses/?n=Moses.AdvancedFeatures#ntoc60
4. http://www.hoang.co.uk/hieu
5. mailto:Moses-support@mit.edu
6. mailto:Moses-support@mit.edu
7. http://mailman.mit.edu/mailman/listinfo/moses-support
8. http://www.hoang.co.uk/hieu
9. mailto:Moses-support@mit.edu
10. http://mailman.mit.edu/mailman/listinfo/moses-support
11. mailto:Moses-support@mit.edu
12. http://mailman.mit.edu/mailman/listinfo/moses-support
13. http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20131011/9ec8a549/attachment-0001.htm

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

Message: 2
Date: Fri, 11 Oct 2013 15:14:59 +0100
From: Douwe H Gelling <d.gelling@sheffield.ac.uk>
Subject: [Moses-support] Compiling with boost 1.54.0
To: moses-support@mit.edu
Message-ID:
<CAPM_nBz5TNoOj3SCcKAUC419Ka+wX0bDjJ1BPAAACuTHDmVNdw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I realised I hadn't compiled my installation of moses with support for
srilm, so I decided to install a new version. However, linking fails with
quite a few files, and I'm not sure why.
I've pointed the install to /usr/local for boost, as the most up-to-date
version is installed there
and it sometimes fails to link to that version and looks in /usr instead.
Not sure why,
as LD_LIBRARY_PATH starts with the right path, but well.


The build now fails mostly with problems relating to boost-program-options
and boost-thread,
but I'm not sure how to fix it. If anyone could have a look at the attached
build log I'd be
very grateful

thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20131011/ce5e41e8/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 302307 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20131011/ce5e41e8/attachment.obj

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

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


End of Moses-support Digest, Vol 84, Issue 19
*********************************************

0 Response to "Moses-support Digest, Vol 84, Issue 19"

Post a Comment