Skip to content

Commit

Permalink
Add bullet points
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Nov 1, 2012
1 parent 25376ab commit 9703378
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ Hideo Okuma and Tomoyuki Yoshimura from NICT contributed ports to ARM and MinGW.
## Compile-time configuration
There are a number of macros you can set on the g++ command line or in util/have.hh .

`KENLM_MAX_ORDER` is the maximum order that can be loaded. This is done to make state an efficient POD rather than a vector.
`HAVE_BOOST` enables Boost-style hashing of StringPiece. This is only needed if you intend to hash StringPiece in your code.
`HAVE_ICU` If your code links against ICU, define this to disable the internal StringPiece and replace it with ICU's copy of StringPiece, avoiding naming conflicts.
* `KENLM_MAX_ORDER` is the maximum order that can be loaded. This is done to make state an efficient POD rather than a vector.
* `HAVE_BOOST` enables Boost-style hashing of StringPiece. This is only needed if you intend to hash StringPiece in your code.
* `HAVE_ICU` If your code links against ICU, define this to disable the internal StringPiece and replace it with ICU's copy of StringPiece, avoiding naming conflicts.

ARPA files can be read in compressed format with these options:
`HAVE_ZLIB` Supports gzip. Link with -lz. I have enabled this by default.
`HAVE_BZLIB` Supports bzip2. Link with -lbz2.
`HAVE_XZLIB` Supports xz. Link with -llzma.
* `HAVE_ZLIB` Supports gzip. Link with -lz. I have enabled this by default.
* `HAVE_BZLIB` Supports bzip2. Link with -lbz2.
* `HAVE_XZLIB` Supports xz. Link with -llzma.

Note that these macros impact only `read_compressed.cc` and `read_compressed_test.cc`. The bjam build system will auto-detect bzip2 and xz support.

## Decoder developers
Expand Down

0 comments on commit 9703378

Please sign in to comment.