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.

--enable-quantize

To achieve a higher level of accuracy, particularly for probability calculations, KyTea features are stored as 64-bit doubles. In order to increase speed and reduce model size, features can also be stored as 16-bit integers by setting this option. However, this may slightly decrease the accuracy due to rounding errors.

--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