|
|||
SoundexSoundex 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:
The letters Input SpecificationEach line of the input contains a single word, all uppercase, less than 20 letters long. Output SpecificationFor 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. Sample Input
Output for Sample Input
|
|||
University of Debrecen; Faculty of Informatics; v. 03/01/2019 |