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: 3 months 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T11:22:12.000Z (about 2 years ago)
- Last Synced: 2024-05-09T23:34:28.309Z (over 1 year ago)
- Topics: language-modelling, lm, nlp
- Language: C++
- Size: 1.63 MB
- Stars: 5
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: COPYING
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
makeWith 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/libIf 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