In order to build kenlm on modern macs --std=c++11 must be explicitly enabled.
$ clang --version
Apple clang version 15.0.0 (clang-1500.3.9.4)
I tried this patch on linux debian:11 and debian:12 and it doesn't cause regressions there.
While I was at it I noticed that the readme didn't mention the necessity of installing cmake which is required to build kenlm, so I updated the README.
In order to build
kenlm
on modern macs--std=c++11
must be explicitly enabled.I tried this patch on linux debian:11 and debian:12 and it doesn't cause regressions there.
While I was at it I noticed that the readme didn't mention the necessity of installing
cmake
which is required to buildkenlm
, so I updated the README.