mosesdecoder/lmserver
2010-02-24 11:15:44 +00:00
..
examples better example 2009-01-22 21:32:39 +00:00
aclocal.m4 check in code for remote LM-server 2009-01-22 17:50:51 +00:00
AUTHORS check in code for remote LM-server 2009-01-22 17:50:51 +00:00
BUILD check in code for remote LM-server 2009-01-22 17:50:51 +00:00
ChangeLog check in code for remote LM-server 2009-01-22 17:50:51 +00:00
compile check in code for remote LM-server 2009-01-22 17:50:51 +00:00
config.guess check in code for remote LM-server 2009-01-22 17:50:51 +00:00
config.h.in check in code for remote LM-server 2009-01-22 17:50:51 +00:00
config.status check in code for remote LM-server 2009-01-22 17:50:51 +00:00
config.sub check in code for remote LM-server 2009-01-22 17:50:51 +00:00
configure check in code for remote LM-server 2009-01-22 17:50:51 +00:00
configure.ac check in code for remote LM-server 2009-01-22 17:50:51 +00:00
COPYING check in code for remote LM-server 2009-01-22 17:50:51 +00:00
daemon.c check in code for remote LM-server 2009-01-22 17:50:51 +00:00
depcomp check in code for remote LM-server 2009-01-22 17:50:51 +00:00
INSTALL check in code for remote LM-server 2009-01-22 17:50:51 +00:00
install-sh check in code for remote LM-server 2009-01-22 17:50:51 +00:00
lmserver.c check in code for remote LM-server 2009-01-22 17:50:51 +00:00
lmserver.h Use portable include guard instead of pragma once 2010-02-24 11:15:44 +00:00
Makefile.am check in code for remote LM-server 2009-01-22 17:50:51 +00:00
Makefile.in add missing file 2009-01-22 17:52:22 +00:00
missing check in code for remote LM-server 2009-01-22 17:50:51 +00:00
NEWS check in code for remote LM-server 2009-01-22 17:50:51 +00:00
README add another example 2009-01-22 17:58:45 +00:00
srilm.cc check in code for remote LM-server 2009-01-22 17:50:51 +00:00
srilm.h Use portable include guard instead of pragma once 2010-02-24 11:15:44 +00:00
stamp-h1 check in code for remote LM-server 2009-01-22 17:50:51 +00:00
stats.h Use portable include guard instead of pragma once 2010-02-24 11:15:44 +00:00
thread.c check in code for remote LM-server 2009-01-22 17:50:51 +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/