Well... in that case... let me deal with the reordering part.
I will update you if I manage that.
Thanks once again.
On Thu, Nov 27, 2014 at 10:05 PM, Marcin Junczys-Dowmunt wrote:
> Hi Raj,
>
> Unfortunately there's no interface to the reordering model. If you need
> help with the C++ part let
Hi Raj,
Unfortunately there's no interface to the reordering model. If you need
help with the C++ part let me know. My experience with JNI however is
confined to what you are seeing. And what's worse, I did that two years
ago and by today I hardly understand what is going on there. I must have
Marcin,
I just finished installing everything and the code works like a charm. I
did have to modify the LD_LIBRARY_PATH since libcmph.so.0 did not get
linked to libJniQueryPt.so in the lib folder. But thats a small thing.
I will study the code in detail and try to make it work for querying the
reo
The code in the wipo branch is not segfaulting, it's just an old moses
version. I can put my recent attempts to make it run with current master
into a separate branch (that's segfaulting). It's best if you start
there when you try to fix it. I will let you know once I pushed it.
Probably this ev
Hello Marcin,
You just saved me a lot of time since I was planning to write this code
from scratch. Many thanks for that.
I will try to fix the reasons for the segfaults.
Many thanks again!
Regards.
On Thu, Nov 27, 2014 at 7:43 PM, Marcin Junczys-Dowmunt
wrote:
> Hi,
>
> I tried to port it t
Hi,
I tried to port it to the newest Moses version, but I still get
segfaults. This used to work with Moses 1.* before the feature function
format was changed. However, since the binary format of the compact
phrase table has not changed since then, just use the old interface.
Checkout the "w
Hello Marcin,
Yes please.
It would save me lots of time.
Thanks.
Regards.
On Wed, Nov 26, 2014 at 6:50 PM, Marcin Junczys-Dowmunt
wrote:
> Hi,
>
> I have a JNI interface to my compact phrase table somewhere, I guess I can
> put that in contrib within a day or two if there is interest.
>
> bes
Hi,
I have a JNI interface to my compact phrase table somewhere, I guess I
can put that in contrib within a day or two if there is interest.
best,
Marcin
W dniu 2014-11-26 10:45, Barry Haddow napisaĆ(a):
> Hi Raj
>
> The format of these tables is not described anywhere. You'd have to
Hi Raj
The format of these tables is not described anywhere. You'd have to read
the code in moses/TranslationModel/PhraseDictionaryTree.cpp, and then
try to convert it it Java.
A better plan would be to use JNI to call the C++ code -- a similar
approach has been followed in the python interfac
Hello All,
I know that Moses allows for binarization of a phrase table which can be
read on demand at decoding time.
We get 5 files named: phrase-table.binphr.*
I want to write my own routine in Java to read phrase pairs from these on
demand.
Can anyone guide me ?
PS: If an explanation of the sam
10 matches
Mail list logo