Problem
GetYourGuide sells activities that match several user interests at once. A Vatican Museums skip-the-line ticket fits "museums", "art", "history" and "family-friendly". Correct interest tags make products findable in the app, on the website and in ads. New interests are found by the Operations Team, who read travel blogs, customer reviews and travel reports in several languages. The backlog of unread text kept growing, and people reading it miss relevant entities (false negatives).
Example from the article: from the text "guided tour to the Anne Frank house" the model should extract the interest "guided tour". It should also catch "cavern tour" when the catalog already has "cave tour".
Solution in brief
Train one custom spaCy NER model per language on top of pre-trained spaCy models. Training text is annotated automatically by regular expressions and custom functions. Raw predictions pass through rule-based and ML post-processing and then go to the data lake.
Questions this case answers
- How to discover new catalog attributes and their spelling variants in large volumes of unlabeled multilingual text when manual review misses items and does not scale
- How to build span-level training data for an extraction model from an existing vocabulary instead of manual annotation
- How to find new product interest tags (and aliases of existing ones) in large piles of raw multilingual text without manual review?
- How to get training data for a custom entity extractor without annotating text by hand?
Tools and methods
- spaCy v3 — pre-trained NER pipelines in 20+ languages, config-driven training, evaluation
- Named entity recognition — find spans of text that are travel interests
- Regular expressions and custom functions — automatic span annotation, removal of overlapping spans, conversion to the spaCy format
- Semantic similarity — relevance of new tags and link to existing interest groups
- Language-model vocabulary and a blocklist — misspelling and brand-safety filters
Google or a one-time email code. No password.