I’m trying to solve the following scenario. I would like to be able to extract job titles from the input entered by the user.
So if the user says: "I'm looking for a software engineering position". Then I would get “software engineering”.
How can I achieve something like this? I don’t think there’s a module in duckling for this specific purpose.
Can regexes be enough? I can think of many different ways of saying the same thing and maybe use regexes to capture what’s in the middle of the sentence or in the end.
The problem with lookup tables is that they’re not scalable. Imagine that the world of job positions is extremely big, so I would need to be generating a huge list.
I was looking for something a bit more general and scalable than that. Maybe the second option you mention is better?