Soundex coding groups together words that appear to sound alike based on their spelling. For example, “can” and “khawn”, “con” and “gone” would be equivalent under Soundex coding.
Soundex coding involves translating each word into a series of digits, in which each digit represents a letter:
Each line of the input contains a single word, all uppercase, less than 20 letters long.
For each line of input, produce a line of output giving the Soundex code. If there are no codable letters in the input word, output a blank line.
Output for Sample Input
|University of Debrecen; Faculty of Informatics; v. 03/01/2019|