similarity: use dlib/svm_threaded.h and std::thread::hardware_concurrency() when adding new docs