LanguageMachines / wopr

Memory Based Word Predictor/Language Model http://ilk.uvt.nl/wopr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Info
====

Run 'sh bootstrap' first if starting with a fresh checkout.

Dependencies
============

Wopr needs libticcutils, timbl, and optionally, libfolia.

General
=======

./configure
make

With a local Timbl installation:

./configure --prefix=/home/pberck/local --with-timbl=/home/pberck/local
make
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pberck/local/lib

If Timbl has been installed system-wide, the configure script should be
able to find it without the --with-timbl invocation.

Timbl support can be explicitly disabled by specifying --without-timbl. You 
will be left with a Wopr which can create data sets and run an n-gram
language mode.

OS X
====

./configure --with-timbl=/Users/pberck/install/

If needed, point to Homebrew unicode libs:

export DYLD_LIBRARY_PATH=/usr/local/Cellar/icu4c/50.1/lib/:$DYLD_LIBRARY_PATH

Debian 
======

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

seems to be needed when the libraries are installed in the default
place. If not, the following is needed (with the correct path filled
in):

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pberck/local/lib

About

Memory Based Word Predictor/Language Model http://ilk.uvt.nl/wopr/

License:Other


Languages

Language:C++ 66.5%Language:Perl 13.3%Language:Python 10.4%Language:Shell 3.9%Language:HTML 2.9%Language:M4 1.6%Language:PHP 0.5%Language:Makefile 0.4%Language:CSS 0.3%Language:C 0.1%Language:JavaScript 0.1%