File size: 826 Bytes
1ce325b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Dependencies
============

Boost >= 1.42.0 is required.  

For Ubuntu,
```bash
sudo apt-get install libboost1.48-all-dev
```

Alternatively, you can download, compile, and install it yourself:

```bash
wget http://sourceforge.net/projects/boost/files/boost/1.52.0/boost_1_52_0.tar.gz/download -O boost_1_52_0.tar.gz
tar -xvzf boost_1_52_0.tar.gz
cd boost_1_52_0
./bootstrap.sh
./b2
sudo ./b2 install
```

Local install options (in a user-space prefix directory) are also possible. See http://www.boost.org/doc/libs/1_52_0/doc/html/bbv2/installation.html.


Building
========

```bash
bjam
```
Your distribution might package bjam and boost-build separately from Boost.  Both are required.   

Usage
=====

Run
```bash
$ bin/lmplz
```
to see command line arguments

Running
=======

```bash
bin/lmplz -o 5 <text >text.arpa
```