Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Raj Dabre
Also I want to report something odd. These segmentation faults seem to be occurring quite randomly. For example: I wrote a standalone program which just creates 2 objects of the JNI class and queries using both. This runs sometimes and sometimes gives the segmentation fault. Secondly: When I run

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Raj Dabre
Hello, I am attaching the jni error message I get when I run my Java program. Thanks in advance for the help. On Thu, Dec 11, 2014 at 5:48 AM, Marcin Junczys-Dowmunt wrote: > I am waiting for some free time around Christmas. Let's see what I can > cook up then. A critical mass of missing/half-

[Moses-support] my email

2014-12-10 Thread Eng HAR
my email. is : hamdiahmed...@gmail.com -- رب اعتق رقابنا ورقاب والدينا من النار *Hamdi Ahmed Rajeh* *Hunan University - China* *Phd Researcher* *0086-15211108249* ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/list

Re: [Moses-support] [Mt-list] MT software Help

2014-12-10 Thread Philipp Koehn
Hi, within the CASMACAT project we have developed a packaged version of Moses with a novel CAT tool that is geared towards individual translators, called the "CASMACAT Home Edition". You can find some more information about it here: http://www.casmacat.eu/index.php?n=Installation.HomePage It is

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Marcin Junczys-Dowmunt
I am waiting for some free time around Christmas. Let's see what I can cook up then. A critical mass of missing/half-implemented features and heisenbugs has accumulated in the compact phrase table. Before that hoewever, I would like to find some time to finally fix LM pruning, maybe next week.

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Marcin Junczys-Dowmunt
I'd like that too! :) W dniu 10.12.2014 o 21:27, Kenneth Heafield pisze: > I for one would like a version of phrase table querying that doesn't > depend on the rest of Moses. For cleanliness and for portability > (there's no reason this shouldn't kill cdec's phrase table for example). > > Kenneth

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Christian Hardmeier
I'm also a potential user of a standalone phrase table. I currently link my decoder against moses mostly because of the phrase table, and it's not always easy to do so. /Christian On 10.12.2014, at 15:27, Kenneth Heafield wrote: > I for one would like a version of phrase table querying that do

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Kenneth Heafield
I for one would like a version of phrase table querying that doesn't depend on the rest of Moses. For cleanliness and for portability (there's no reason this shouldn't kill cdec's phrase table for example). Kenneth On 12/10/14 13:39, Marcin Junczys-Dowmunt wrote: > I am on it, sort of. I am wait

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Marcin Junczys-Dowmunt
I am on it, sort of. I am waiting for Raj, to give me a stack trace. I admit this code is basically abandoned, but let's see what we can do. W dniu 10.12.2014 o 19:35, Hieu Hoang pisze: I see. I'm not sure why the querying depends on StaticData. There may be some weights is wants to read. Only

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Hieu Hoang
I see. I'm not sure why the querying depends on StaticData. There may be some weights is wants to read. Only Marcin will know about that. You could try to debug yourself. If you intend to develop with Moses, I would urge you to update to the master branch of Moses. People forget how old code works

[Moses-support] Postdoc positions in Machine Learning for Machine Translation - LIMSI/CNRS, France

2014-12-10 Thread Francois Yvon
(apologies for cross-posting) 2 POSTDOC positions in Machine Learning for Machine translation at LIMSI-CNRS, Orsay (Paris area), FRANCE Two postdoctoral positions are available at LIMSI-CNRS. The positions are all one year, with possibilities of extension. We are seeking researchers with intere

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Raj Dabre
I am not using any moses.ini because I am not translating anything. My focus is on reading the phrase tables using a querying program written by Marcin. On Thu, Dec 11, 2014 at 12:50 AM, Hieu Hoang wrote: > Are you using the translation system functionality in v1? That seems to be > the problem.

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Hieu Hoang
Are you using the translation system functionality in v1? That seems to be the problem. Can I have a look @ the moses.ini. On 10 December 2014 at 15:44, Raj Dabre wrote: > I am using an older version (V1). > I am not running a translation experiment but using Java Native Interface > to call C fu

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Raj Dabre
I am using an older version (V1). I am not running a translation experiment but using Java Native Interface to call C functions. Can you tell me what might be the problem ? I can surely say that the root of the problem is in the StaticData.cpp file. It seems that I am creating 2 instances of a clas

Re: [Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Hieu Hoang
what version of Moses are you using? The current master branch on github, or an older version (version 1 etc)? Can I please see the moses.ini file you're using too On 10 December 2014 at 12:34, Raj Dabre wrote: > Dear all, > > I am using a JNI interface to the CPP code that reads from binary ph

[Moses-support] When does this error message occur and how to fix it

2014-12-10 Thread Raj Dabre
Dear all, I am using a JNI interface to the CPP code that reads from binary phrase tables. I get an error like: Mismatch between number of word penalties and number of translation systems This happens when I create 2 objects for reading from 2 different tables. My understanding is that there is

Re: [Moses-support] string of Words + states in feature functions

2014-12-10 Thread Matthias Huck
Hi Amir, The input is passed to the feature functions via InitializeForInput(InputType const& source). This method is called before search and collecting of translation options (cf. moses/FF/FeatureFunction.h). You can set a member variable to have access to the input in your scoring method. Alt

Re: [Moses-support] string of Words + states in feature functions

2014-12-10 Thread Hieu Hoang
On 10/12/14 08:11, amir haghighi wrote: Hi everyone I'm implementing a feature function in moses-chart. I need the source words string and also their indexes in the source sentence. I've written a function that gets the source words but I don't know how extract word string from a word. could

Re: [Moses-support] string of Words + states in feature functions

2014-12-10 Thread HOANG Cong Duy Vu
More: word_str = source_sent.GetWord(pos).GetString(m_factorType) -- Cheers, Vu On Wed, Dec 10, 2014 at 5:26 PM, HOANG Cong Duy Vu wrote: > Hi Amir, > > I'm implementing a feature function in moses-chart. I need the source >> words string and also their indexes in the source sentence. I've wri

Re: [Moses-support] string of Words + states in feature functions

2014-12-10 Thread HOANG Cong Duy Vu
Hi Amir, I'm implementing a feature function in moses-chart. I need the source words > string and also their indexes in the source sentence. I've written a > function that gets the source words but I don't know how extract word > string from a word. > could anyone guide me how to do that? as I kno

[Moses-support] string of Words + states in feature functions

2014-12-10 Thread amir haghighi
Hi everyone I'm implementing a feature function in moses-chart. I need the source words string and also their indexes in the source sentence. I've written a function that gets the source words but I don't know how extract word string from a word. could anyone guide me how to do that? as I know, ea