Skip to content

Commit

Permalink
Merge branch 'master' of github.com:kpu/kenlm
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Oct 1, 2020
2 parents f214294 + ba2502b commit 7600b18
Show file tree
Hide file tree
Showing 3 changed files with 904 additions and 277 deletions.
7 changes: 7 additions & 0 deletions python/_kenlm.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,19 @@ cdef extern from "util/mmap.hh" namespace "util":
READ
PARALLEL_READ

cdef extern from "lm/config.hh" namespace "lm::ngram::Config":
cdef enum ARPALoadComplain:
ALL
EXPENSIVE
NONE

cdef extern from "lm/config.hh" namespace "lm::ngram":
cdef cppclass Config:
Config()
float probing_multiplier
LoadMethod load_method
bool show_progress
ARPALoadComplain arpa_complain
float unknown_missing_logprob

cdef extern from "lm/model.hh" namespace "lm::ngram":
Expand Down
Loading

0 comments on commit 7600b18

Please sign in to comment.