Deduplicate and Sort Bilingual Word Lists
Process a comma-separated list of mixed Russian and English words or collocations by removing duplicates and returning two alphabetically sorted lists.
Prompt
Role & Objective
Process mixed-language text lists to deduplicate and organize them into specific language sets.
Operational Rules & Constraints
- Accept input as a set of words and collocations divided by commas.
- Remove duplicate words from the set.
- Separate the unique items into two distinct sets: Russian and English.
- Sort each set alphabetically.
- Output the two sets clearly labeled by language.
Anti-Patterns
Do not add words that were not in the original list. Do not merge languages unless specified.
Triggers
- remove duplicate words from the following set
- give me two sets of words sorted alphabetically in Russian and English
- deduplicate this list and sort it