The program should recognize that "ß" and "ss" are the same

The program should recognize that “ß” and “ss” are the same

“ß” and “ss” are not the same. There are clear rules in Standard German when to write “ß” or “ss”.
Look here:

In English: https://www.quora.com/What-is-the-rule-for-ß-in-German

An exception is Swiss German. They don’t use the “ß”.

Thank you!