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]> 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] > 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
