implemented smart french search