A text tagger identifies indexed terms or entities in incoming text, then maps matched surface forms to canonical entities for semantic query processing. section 7.4.1
A practical tagging pipeline:
- Index domain phrases, spelling variations, cities, and semantic functions in an entities collection. section 7.4.1
- Use an FST-backed lookup structure for compact, millisecond-scale matching across large entity lists. section 7.4.1
Tagging a location-aware query
For "top kimchi near charlotte", the tagger identifies "top", "near", and "charlotte". The resulting tagged query is "{top} kimchi {near} {charlotte}", while the typed tree maps these to popularity, location distance, and Charlotte.
