Commit Graph

9 Commits

Author SHA1 Message Date
Hieu Hoang
a5f391e3f3 remove description argument from feature function constructor. Redundant 2013-10-29 18:59:53 +00:00
Hieu Hoang
31ce9b510e beautify 2013-09-27 09:35:24 +01:00
Lane Schwartz
8a726a9de4 Changes to allow SRILM on Mac OS X.
By default, SRILM defines a function called zopen.

However, on Mac OS X (and possibly other BSDs),
<stdio.h> already defines a zopen function.

To resolve this conflict, SRILM checks to see if HAVE_ZOPEN is defined.
If it is, SRILM will rename its zopen function as my_zopen.

So, before importing any SRILM headers,
it is important to define HAVE_ZOPEN if we are on an Apple OS.
2013-08-28 12:39:47 -04:00
Hieu Hoang
abe6bb7c22 refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
Hieu Hoang
6249432407 beautify 2013-05-29 18:16:15 +01:00
Hieu Hoang
eca3661de3 rename a variable and function 2013-02-21 11:30:54 +00:00
Hieu Hoang
1a1634a391 make LanguageModelImplementation have new format constructor 2013-02-20 22:44:11 +00:00
Hieu Hoang
065597dc9f only include moses root when compiling 2012-11-14 14:18:53 +00:00
Hieu Hoang
5e3ef23cef move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00