KyTea Compile Options

KyTea Home

This page describes the options that can be specified when compiling KyTea. If any of these are specified when running ./configure, the appropriate changes will be reflected in the final binary.

--disable-quantize

In order to increase speed and reduce model size, features are stored as 16-bit integers by default. However, this may slightly decrease the accuracy due to rounding errors. To achieve a higher level of accuracy, particularly for probability calculations, this option may be set to ensure that features are stored as 64-bit doubles. In addition, 16 points after the decimal place will be included in output (instead of the usual 6).

--prefix

KyTea, like most Linux programs, is installed to the /usr directory by default. However, if you would like to install to a different directory (for example, if you do not have root privileges), you may use this option to indicate the installation directory.

CXXFLAGS="-O3"

This will raise the optimization to level 3, resulting in the program running slightly faster than normal.

KyTea Home
Last Modified: 2010-2-20