Skip to content

Commit

Permalink
Merge upstream changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
owo committed Jan 30, 2024
2 parents 0b12c82 + 35f1458 commit f8d74bb
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 25 deletions.
55 changes: 31 additions & 24 deletions python/kenlm.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ def run(self):
sources=FILES + ['python/kenlm.cpp'],
language='C++',
include_dirs=['.'] + INCLUDE_PATHS,
depends = ['python/BuildStandalone.cmake'],
libraries=LIBS,
extra_compile_args=ARGS),
]

setup(
name='camel-kenlm',
version='2023.3.17.2',
version='2024.1.30',
url='https://github.com/CAMeL-Lab/camel-kenlm',
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
Expand Down
1 change: 1 addition & 0 deletions util/pool.hh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef UTIL_POOL_H
#define UTIL_POOL_H

#include <algorithm>
#include <cassert>
#include <cstring>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions util/string_piece_hash.hh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef UTIL_STRING_PIECE_HASH_H
#define UTIL_STRING_PIECE_HASH_H

#include <functional>
#include "have.hh"
#include "string_piece.hh"

Expand Down

0 comments on commit f8d74bb

Please sign in to comment.