summaryrefslogtreecommitdiff
path: root/klm/lm/Jamfile
blob: dd62006880fc80149df67e4d0a77466dc0614992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
lib kenlm : bhiksha.cc binary_format.cc config.cc lm_exception.cc model.cc quantize.cc read_arpa.cc search_hashed.cc search_trie.cc trie.cc trie_sort.cc value_build.cc virtual_interface.cc vocab.cc ../util//kenutil : <include>.. : : <include>.. <library>../util//kenutil ;

import testing ;

run left_test.cc ../util//kenutil kenlm /top//boost_unit_test_framework : : test.arpa ;
run model_test.cc ../util//kenutil kenlm /top//boost_unit_test_framework : : test.arpa test_nounk.arpa ;

exe query : ngram_query.cc kenlm ../util//kenutil ;
exe build_binary : build_binary.cc kenlm ../util//kenutil ;
exe kenlm_max_order : max_order.cc : <include>.. ;

alias programs : query build_binary kenlm_max_order ;

install legacy : build_binary query kenlm_max_order
  : <location>$(TOP)/lm <install-type>EXE <install-dependencies>on <link>shared:<dll-path>$(TOP)/lm <link>shared:<install-type>LIB ;