Large enough dataset + some way to see context. There could be an ambiguous word that is only found through accompanying media. A multimodal AI would be needed for that task. Maybe something like
https://blog.google/products/search/introducing-mum/ would be up for the task, maybe not. But you are correct, people say a machine can't replace them until they do.