mosesdecoder/lmserver
2011-06-28 14:33:55 +00:00
..
examples moved up one 2011-06-28 14:33:55 +00:00
aclocal.m4 moved up one 2011-06-28 14:33:55 +00:00
AUTHORS moved up one 2011-06-28 14:33:55 +00:00
BUILD moved up one 2011-06-28 14:33:55 +00:00
ChangeLog moved up one 2011-06-28 14:33:55 +00:00
compile moved up one 2011-06-28 14:33:55 +00:00
config.guess moved up one 2011-06-28 14:33:55 +00:00
config.h.in moved up one 2011-06-28 14:33:55 +00:00
config.status moved up one 2011-06-28 14:33:55 +00:00
config.sub moved up one 2011-06-28 14:33:55 +00:00
configure moved up one 2011-06-28 14:33:55 +00:00
configure.ac moved up one 2011-06-28 14:33:55 +00:00
COPYING moved up one 2011-06-28 14:33:55 +00:00
daemon.c moved up one 2011-06-28 14:33:55 +00:00
depcomp moved up one 2011-06-28 14:33:55 +00:00
INSTALL moved up one 2011-06-28 14:33:55 +00:00
install-sh moved up one 2011-06-28 14:33:55 +00:00
lmserver.c moved up one 2011-06-28 14:33:55 +00:00
lmserver.h moved up one 2011-06-28 14:33:55 +00:00
Makefile.am moved up one 2011-06-28 14:33:55 +00:00
Makefile.in moved up one 2011-06-28 14:33:55 +00:00
missing moved up one 2011-06-28 14:33:55 +00:00
NEWS moved up one 2011-06-28 14:33:55 +00:00
README moved up one 2011-06-28 14:33:55 +00:00
srilm.cc moved up one 2011-06-28 14:33:55 +00:00
srilm.h moved up one 2011-06-28 14:33:55 +00:00
stamp-h1 moved up one 2011-06-28 14:33:55 +00:00
stats.h moved up one 2011-06-28 14:33:55 +00:00
thread.c moved up one 2011-06-28 14:33:55 +00:00

This software is based on pieces of the memcached server.

To start an LM server:

  ./lmserver -x /tmp/moses-reg-test-data-2/lm/europarl.en.srilm.gz -o 3

-o specifies the order, -x specifies the file.


The following was taken from the memcached README:

Dependencies:

   -- libevent, http://www.monkey.org/~provos/libevent/ (libevent-dev)

If using Linux, you need a kernel with epoll.  Sure, libevent will
work with normal select, but it sucks.

epoll isn't in Linux 2.4 yet, but there's a backport at:

    http://www.xmailserver.org/linux-patches/nio-improve.html
     
You want the epoll-lt patch (level-triggered).

If you're using MacOS, you'll want libevent 1.1 or higher to deal with 
a kqueue bug.

The memcached website is at:

    http://www.danga.com/memcached/