Thanks, I am mainly interested in reusing most of the score calculation methods in BilingualDynSuffixArray.* and was looking for an easy way to do that. Now that I have inspected the code for a while I see there is no easy way :)

W dniu 24.07.2013 15:29, Hieu Hoang pisze:
yes, copy PhraseDictionaryDynSuffixArray, or indeed, your own PhraseDictionaryCompact.

there's some docs on adding feature functions.
http://www.statmt.org/moses/?n=Moses.FeatureFunctions

it should be easier than a year ago when you added PhraseDictionaryCompact

On 24 July 2013 13:29, Marcin Junczys-Dowmunt <[email protected] <mailto:[email protected]>> wrote:

    Hi list,
    I am planning to integrate a dynamic phrase table based on a lucene
    index and I am wondering how to approach it. Basically it should have
    the same functionality as the Dynamic Suffix Array already present in
    Moses. Now I am wondering if for a first working version it would be
    enough just to hijack DynSuffixArray.h and implement all the public
    functions with CLucene. Any hidden pitfalls there? The index would be
    indexed by the source sentence and contain alignment data and target
    sentences as fields.
    Best,
    Marcin
    _______________________________________________
    Moses-support mailing list
    [email protected] <mailto:[email protected]>
    http://mailman.mit.edu/mailman/listinfo/moses-support




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


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to