A BERT library for C++ and C