https://github.com/LanguageMachines/wopr
Memory Based Word Predictor/Language Model http://ilk.uvt.nl/wopr/
https://github.com/LanguageMachines/wopr
language-modelling lm nlp
Last synced: about 1 month ago
JSON representation
Memory Based Word Predictor/Language Model http://ilk.uvt.nl/wopr/
- Host: GitHub
- URL: https://github.com/LanguageMachines/wopr
- Owner: LanguageMachines
- License: other
- Created: 2015-05-23T14:19:12.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T09:03:22.000Z (over 1 year ago)
- Last Synced: 2025-10-10T06:37:23.970Z (6 months ago)
- Topics: language-modelling, lm, nlp
- Language: C++
- Size: 1.75 MB
- Stars: 5
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: NEWS
- License: COPYING
- Authors: AUTHORS
- Codemeta: codemeta.json
Awesome Lists containing this project
README
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