Searching for a parser or engine that can separate cities, country, product types and options from a query
<p>I have a need for a search engine that can parse a string into multiple sub-query (if that make sense).</p>

<p>Similar to those search engine where you can type <code>Casino in Las vegas</code> and it will retrieve the Casinos in Las Vegas.</p>

<p>I have to make a search engine that parse sentence like <code>B&amp;B in Quebec with folding bed and breakfast</code> into</p>

<pre><code>{
    type: { "B&amp;B" },
    location: { "Quebec" },
    option: { "folding bed", "breakfast" }
}
</code></pre>

<p>So before I try to invent the wheel, I'd like to know if something like that exists in either open-source or commercial.</p>
