Artificial intelligence Classification of words (Python / C #)

Someone could indicate some study content, some example or library name that does the following:

  • Read the word
  • Beat in a dictionary
  • Try to complete the word (if possible)

For example:

ENTRY: CSA
DICTIONARY ["HOMEM", "CASA", "MULHER"]`
DEPARTURE: HOME

ENTRY: OMEM
DICTIONARY ["HOMEM", "CASA", "MULHER"]`
DEPARTURE: MAN

ENTRY: WOMAN
DICTIONARY ["HOMEM", "CASA", "MULHER"]`
DEPARTURE: WOMAN

ENTRY: GAME
DICTIONARY ["HOMEM", "CASA", "MULHER"]`
OUTPUT: Word not defined and / or unknown