Language character recognition with vowels,consonentand numbers with characters class

I want to create a model for recognized characters, where i want to classify every characters as a single class with this character is a vowel or consonent or number .how to create this model and how to store this data.

Hi @jabed_omor, You can classify it by using the python code given below,

input_char = input("Enter a character: ")
if input_char.isalpha():
    if input_char.lower() in ['a', 'e', 'i', 'o', 'u']:
        print(f"Given character:{input_char} is a vowel")
    else:
        print(f"Given character:{input_char} is a consonant")
elif input_char.isdigit():
    print(f"Given character:{input_char} is a number")
else:
    print("other")

I don’t think you require a machine learning model for this task. Thank You.