mosesdecoder/contrib/lmserver
2012-09-11 16:06:05 +02:00
..
examples Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
aclocal.m4 Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
AUTHORS Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
BUILD Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
ChangeLog Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
compile Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
config.guess Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
config.h.in Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
config.status Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
config.sub Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
configure Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
configure.ac Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
COPYING Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
daemon.c Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
depcomp Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
install-sh Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
lmserver.c Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
lmserver.h Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
Makefile.am Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
Makefile.in Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
missing Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
NEWS Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
README Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
srilm.cc Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
srilm.h Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
stamp-h1 Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
stats.h Move projects from top level to contrib 2011-11-23 14:48:50 +00:00
thread.c Move projects from top level to contrib 2011-11-23 14:48:50 +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/