Introduction
Navigating language barriers is a perennial challenge for travelers. While traditional phrasebooks are often too slow for real-time interaction, modern Neural Machine Translation (NMT) tools like Google Translate frequently falter in conversational travel contexts. These tools are typically trained on formal news corpora, leading to awkward or inaccurate results in casual settings. Furthermore, existing apps often require users to share a single device, raising concerns about hygiene, theft, and privacy. Qutr (Query Translator) addresses these issues by providing a fast, private, and highly accurate cross-lingual messaging platform designed specifically for the travel domain.
System Architecture and Workflow
Qutr moves away from unpredictable open-ended translation in favor of a searchable, pre-translated phrasebook. The system is built around an interlingual representation where user inputs are mapped to a universal "Concept ID" rather than being translated directly between languages.
Trie-based Query Mapping
To facilitate rapid communication, the app stores phrases in a trie (prefix tree) structure. As a user types keywords, the system traverses this tree to suggest "iconic phrases." This method supports autocompletion, handles various paraphrases (e.g., mapping "Hi" and "Hello" to the same ID), and utilizes edit distance to tolerate minor spelling errors.
Template Matching and NER
For more specific needs, Qutr employs templates with placeholders. For instance, a user can select "I want a flight to *" and fill in the destination. The system uses Named Entity Recognition (NER) to identify and process these specific slots, ensuring the core message remains grammatically sound across languages.
Cross-lingual Generation and Privacy
Once a user selects a phrase, its corresponding Concept ID is transmitted to the recipient. The recipient's local app then performs a lookup in its own database to generate the phrase in their preferred language. This architecture ensures that high-quality, human-verified translations are always delivered, eliminating the "hallucinations" common in NMT.
Privacy is a core feature of the design. To establish a connection without exchanging sensitive personal information like phone numbers, users perform a "QR handshake" by scanning each other's unique codes. This creates a private, text-based chat session that avoids the social discomfort of sharing a physical device or speaking private travel details aloud in public spaces.
The Qutr Corpus
Because no specialized corpus existed for travel-specific paraphrases, the authors developed the Qutr Corpus. This dataset includes 3,500 iconic phrases translated into English, Arabic, and Chinese. The data was sourced from Wikitravel and ESL educational resources, then processed using tools like Jieba for Chinese segmentation and SpaCy for English NER. Human translators were employed to resolve complex linguistic ambiguities, such as gender inflections in Arabic, which are often handled poorly by standard machine translation.
Conclusion and Future Work
Qutr demonstrates a robust alternative to standard translation apps by prioritizing domain-specific accuracy and user privacy. By decoupling input from translation through Concept IDs, it guarantees reliable communication across distinct language families. Future developments will focus on expanding the 3,500-phrase vocabulary, adding more languages, and conducting large-scale user evaluations to compare Qutr's efficacy against traditional translation tools.
Summary updated