ES interface for Finite state transducer (FST) (not completion suggester)

Hi guys,

I am trying to implement something like entity recognition for user query in a specific domain. The idea is pretty simple, for example, when I get a query like "David Beckham Barack Obama", I will translate it into DB AND BO.

In order to do that, I will maintain a list of domain phrases and implement it with FST. (store in ES/DB might involve latency). But I fail to find anything ES provide, except for suggester, which is not what I want.

Thanks,
Cody